{"id":526,"date":"2016-01-13T21:55:35","date_gmt":"2016-01-13T21:55:35","guid":{"rendered":"http:\/\/int03.co.uk\/blog\/?p=526"},"modified":"2019-02-11T21:35:03","modified_gmt":"2019-02-11T21:35:03","slug":"estimating-ulka-ep5-pump-inductance","status":"publish","type":"post","link":"https:\/\/int03.co.uk\/blog\/2016\/01\/13\/estimating-ulka-ep5-pump-inductance\/","title":{"rendered":"Estimating Ulka EP5 Pump Inductance"},"content":{"rendered":"<p>As part of my work to modulate the Ulka EP5 pump pressure in my Espresso machine, I decided&nbsp;to try and simulate the pump in SPICE. This would necessarily be a very simplified model, but might be useful nonetheless to understand the behaviour of snubber circuits for the pump PWM controller. To create the model, I needed an estimate of the pump inductance.<\/p>\n<h2>Previous attempts<\/h2>\n<p>I could only find <a href=\"http:\/\/siber-sonic.com\/appliance\/800Electrical.html\" target=\"_blank\">one previous reference<\/a> to the pump inductance online. It&#8217;s not clear which Ulka pump was used, but it looks like an E5 type (EP5 or EX5) and a circuit diagram refers to 41W rating (consistent with the 120V 60Hz EP5). They took the approach of measuring the current drawn by the pump at 0.57A and, assuming a line voltage of 120V, calculated the reactance as follows:<\/p>\n<p>X<sub>L<\/sub> = V\/I = 120V \/ 0.57A (AC) = 211<\/p>\n<p>With the formula&nbsp;X<sub>L<\/sub> = 2\u03c0fL = 2\u03c0 * 60Hz = 377L, the inductance L was estimated&nbsp;as follows (for a 120V 60Hz pump):<\/p>\n<p>L = 211 \/ 377L = 0.56H = 560mH<\/p>\n<p>However,&nbsp;X<sub>L<\/sub> = V<sub>PEAK<\/sub>\/I<sub>PEAK<\/sub> and the above voltage current values may be average or RMS values rather than peak values. For 120V AC mains the peak voltage would be V<sub>PEAK <\/sub>=12\u221a2 = 170V. Similarly, when measuring AC current, some multimeters only give accurate results for a sinusoidal AC waveform, and may not be accurate for AC chopped by the series diode in the Ulka pump. This doesn&#8217;t necessarily mean the result is wrong of course, just difficult to be certain.<\/p>\n<h2>Manufacturer data on the pump<\/h2>\n<p>The manufacturer data states that:<\/p>\n<ul>\n<li>Ulka EP5 240V~50Hz is rated at 48W<\/li>\n<li>Ulka EP5 120V~60Hz is rated at 41W<\/li>\n<\/ul>\n<h2>Estimating pump electrical properties<\/h2>\n<p>There&#8217;s an integrated series diode in the pump, but the type is not indicated. However, based on similar Ulka pump models described in Ulka\/CEMA specifications, the diode is assumed to be 1N4007 which according to manufacturer datasheets have a typical forward voltage V<sub>F <\/sub>= 1.0V when I<sub>F<\/sub> = 1.0A (noting that there are some small variations in the specifications for 1N4007 between manufacturers).<\/p>\n<p>Attempting to measure the pump coil resistance directly with a resistance meter could give misleading results, due to the internal diode. To overcome this, a known DC voltage and current can be used to estimate the resistance.<\/p>\n<p>With a ~12V DC power supply connected across the Ulka EP5 240V~50Hz pump, the measured voltage was 12.33V and the measured current was 70.1mA. At this relatively low current, it is likely that the diode forward voltage will be less than 1.0V. To estimate the diode V<sub>F<\/sub>, an individual 1N4007 diode was connected in series with a 220R resistor and ~12V power supply, giving I<sub>F<\/sub> = 51.9mA and V<sub>F <\/sub>= 0.775mV.<\/p>\n<p>Assuming that V<sub>F =&nbsp;<\/sub>775mV at I<sub>F<\/sub> = 70.1mA, the actual voltage across the coil will be reduced to (12.33 \u2013 0.775) = 11.56V and therefore a first estimate of the pump coil resistance is as follows:<\/p>\n<p>R = 11.56 \/ 70.1&#215;10<sup>-3<\/sup> = 165\u03a9<\/p>\n<p>To calculate the inductance, the manufacturer voltage and power ratings are used to estimate the reactance as follows:<\/p>\n<p>Although the Ulka EP5 240V~50Hz model is rated 48W, the internal diode means that the pump is only active for half the cycle. Considering the coil without&nbsp;the series diode, we therefore assume that the AC power consumption would be 96W and use this figure to calculate the AC current:<\/p>\n<p>P=VI therefore I=P\/V<\/p>\n<p>I<sub>RMS<\/sub> = P<sub>RMS<\/sub>\/V<sub>RMS<\/sub> = 96\/240 = 0.4A<\/p>\n<p>Note that the mains line voltage and current will of course vary in practice due to local mains supply quality.<\/p>\n<p>The peak voltage and current are then estimated as follows:<\/p>\n<p>V<sub>PEAK<\/sub>&nbsp;&nbsp; = V<sub>RMS<\/sub>\u221a2 = 24\u221a2 = 339V<\/p>\n<p>I<sub>PEAK&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <\/sub>= I<sub>RMS<\/sub>\u221a2 = 0.4\u221a2 = 0.57A<\/p>\n<p>The inductive reactance for an inductor energised by a sine wave is calculated as follows:<\/p>\n<p>X<sub>L <\/sub>= V<sub>PEAK<\/sub>\/I<sub>PEAK = &nbsp;<\/sub>339 \/ 0.57 = 599.27<\/p>\n<p>The inductance can be calculated based on the reactance and frequency as follows:<\/p>\n<p>L = X<sub>L<\/sub> \/ 2\u03c0f<\/p>\n<p>Where f is the mains line frequency 50Hz:<\/p>\n<p>L = 599.27 \/ (2\u03c0 \u00d7 50)&nbsp;&nbsp;= 599.27 \/ 314.159 = 1.91H<\/p>\n<p>However, on closer inspection, I noticed that the exact pump model I tested is labelled 230V~50Hz on the side. Repeating these calculations with 230V, the following results are obtained:<\/p>\n<p>I<sub>RMS <\/sub>= 96\/230 = 0.42A<\/p>\n<p>V<sub>PEAK<\/sub>&nbsp;= V<sub>RMS<\/sub>\u221a2 = 23\u221a2 = 325V<\/p>\n<p>I<sub>PEAK&nbsp; <\/sub>= I<sub>RMS<\/sub>\u221a2 = 0.4\u221a2 = 0.59A<\/p>\n<p>X<sub>L <\/sub>= V<sub>PEAK<\/sub>\/I<sub>PEAK<\/sub> = 325 \/ 0.59 = 550.59<\/p>\n<p>L = 550.59 \/ 314.159 = 1.75H<\/p>\n<p>So this estimate puts the pump inductance for the 230V~50Hz EP5 pump at somewhere between&nbsp;1.75H and 1.91H and the resistance at 165\u03a9.<\/p>\n<h2>Simulating the pump in SPICE<\/h2>\n<p>Running an <a href=\"http:\/\/www.linear.com\/designtools\/software\/\" target=\"_blank\">LTSpice<\/a> model with a 240V, 50Hz AC supply in circuit with a 1N4007 diode and an inductor modelled with L=1.75H, R=165\u03a9 gives the following results:<\/p>\n<p>Iavg=0.34A, Irms=0.46A, Vrms=240V, Pavg=35.67W<\/p>\n<p>This doesn&#8217;t look too far off, however it is obviously lower than the rated power of 48W indicated by the manufacturer. Adjusting the LTSpice&nbsp;model inductance to L=1.37H gives results closer to the manufacturer ratings:<\/p>\n<p>Iavg=0.39A, Irms=0.54A, Vrms=240V, Pavg=47.93W<\/p>\n<h2>Measuring the pump inductance<\/h2>\n<p>More recently, another attempt was made to <a href=\"http:\/\/int03.co.uk\/blog\/2016\/05\/04\/measuring-ulka-ep5-pump-inductance\/\" target=\"_blank\">directly measure the inductance<\/a>. This was achieved by drilling a small 1mm hole in the pump to access the coil terminal before the series diode.&nbsp;The measured inductance and resistance was L=854mH and R=165\u03a9. The series diode forward voltage was measured as 706mV.<\/p>\n<h2>Conclusions<\/h2>\n<p>Modelling the pump as a simple inductor is obviously a gross simplification, as the pump is a spring loaded solenoid, whose inductance will vary as the internal plunger vibrates. Also, the hydraulic pressure in circuit is not considered. Finally, with high frequency PWM switching, the parameters estimated at 50Hz \/ 60Hz frequency may not be correct.<\/p>\n<p>Nevertheless, the inductance values&nbsp;above when used in SPICE provide a first approximation which may be useful to estimate how the system will behave in practice, and do seem to give&nbsp;behaviour very similar to the real system.<\/p>\n<p>If anyone has any corrections, comments, improvements or information to add, drop me a line in the comments below.<\/p>\n<h2><\/h2>\n","protected":false},"excerpt":{"rendered":"<p>As part of my work to modulate the Ulka EP5 pump pressure in my Espresso machine, I decided&nbsp;to try and simulate the pump in SPICE. This would necessarily be a very simplified model, but might be useful nonetheless to understand the behaviour of snubber circuits for the pump PWM controller. To create the model, I &hellip; <a href=\"https:\/\/int03.co.uk\/blog\/2016\/01\/13\/estimating-ulka-ep5-pump-inductance\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Estimating Ulka EP5 Pump Inductance<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/526"}],"collection":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=526"}],"version-history":[{"count":3,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/526\/revisions"}],"predecessor-version":[{"id":763,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/526\/revisions\/763"}],"wp:attachment":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}