{"id":282,"date":"2015-02-11T22:10:50","date_gmt":"2015-02-11T22:10:50","guid":{"rendered":"http:\/\/int03.co.uk\/blog\/?p=282"},"modified":"2019-02-11T21:36:24","modified_gmt":"2019-02-11T21:36:24","slug":"updated-high-voltage-output-stage-for-my-espiresso-machine","status":"publish","type":"post","link":"https:\/\/int03.co.uk\/blog\/2015\/02\/11\/updated-high-voltage-output-stage-for-my-espiresso-machine\/","title":{"rendered":"Updated high voltage output stage for my Es(pi)resso Machine (muhahaha&#8230;)"},"content":{"rendered":"<p>Here are the latest plans for the high voltage side of my Es(pi)resso machine controller. Obligatory warning:&nbsp;<b>working with mains voltages as shown in this circuit is potentially very dangerous &#8211; use this circuit at your own risk.<\/b><\/p>\n<p>Click to embiggen (to promulgate a neologism):<\/p>\n<p><a href=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2015\/02\/gaggia_v3_draft1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-283 size-large\" src=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2015\/02\/gaggia_v3_draft1-1024x345.png\" alt=\"gaggia_v3_draft1\" width=\"660\" height=\"222\" srcset=\"https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2015\/02\/gaggia_v3_draft1-1024x345.png 1024w, https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2015\/02\/gaggia_v3_draft1-300x101.png 300w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<p>This diagram is a slight refinement of the circuit currently inside my machine. Basically, I&#8217;ve added a <a title=\"TC426 datasheet\" href=\"http:\/\/ww1.microchip.com\/downloads\/en\/DeviceDoc\/21415C.pdf\" target=\"_blank\">TC426<\/a> to drive the IGBT for improved switching times (replacing the BC556 used previously), and replaced the opto-couplers with the 4 pin <a title=\"HCPL-817 datasheet\" href=\"http:\/\/www.farnell.com\/datasheets\/1266126.pdf\" target=\"_blank\">HCPL-817<\/a>&nbsp;for reduced board area and pin count. This also leaves one spare TC426 output for future expansion, which I plan to expose on a 0.1&#8243; header. Otherwise the circuit is exactly the same as the current working version in my Gaggia Classic.<\/p>\n<p>The OC1 coupler enables the Pi to detect when the pump is powered on. As soon as mains power is applied to the pump, this open-collector output goes low. This makes it easy for the software to know when a shot is being pulled, and to count shots etc.<\/p>\n<p>There are two SSRs in the circuit: K4 is used to switch the boiler elements, and K3 is used to switch power to the pump. The pump can still be manually controlled with the brew switch. When the pump SSR K3 is on, this also powers up the pump modulation circuit. The PUMP_PWM input is a 3V3 logic level PWM input for the pump. This goes through opto-coupler OC2 and the TC426 via 1K gate resistor to switch the IGBT Q3. It&#8217;s arranged so that a logic high on PUMP_PWM will switch on the pump. Therefore, PUMP_OUT and PUMP_PWM together can be used to automatically power the pump on\/off, and to modulate the pump pressure via PWM (I&#8217;m currently working with 1kHz PWM frequency).<\/p>\n<p>Today I carried out a low voltage test of a subset of this amended design (the&nbsp;HCPL-817, TC426 and IGBT), and it performs well. The next stage is to test this at mains voltage with the&nbsp;pump, and then I&#8217;m planning to design a custom PCB to replace the current strip-board used inside the machine.<\/p>\n<p><a href=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2015\/02\/igbt_low_voltage_test.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-291\" src=\"http:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2015\/02\/igbt_low_voltage_test.jpg\" alt=\"igbt_low_voltage_test\" width=\"500\" height=\"346\" srcset=\"https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2015\/02\/igbt_low_voltage_test.jpg 500w, https:\/\/int03.co.uk\/blog\/wp-content\/uploads\/2015\/02\/igbt_low_voltage_test-300x208.jpg 300w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here are the latest plans for the high voltage side of my Es(pi)resso machine controller. Obligatory warning:&nbsp;working with mains voltages as shown in this circuit is potentially very dangerous &#8211; use this circuit at your own risk. Click to embiggen (to promulgate a neologism): This diagram is a slight refinement of the circuit currently inside &hellip; <a href=\"https:\/\/int03.co.uk\/blog\/2015\/02\/11\/updated-high-voltage-output-stage-for-my-espiresso-machine\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Updated high voltage output stage for my Es(pi)resso Machine (muhahaha&#8230;)<\/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\/282"}],"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=282"}],"version-history":[{"count":8,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/282\/revisions"}],"predecessor-version":[{"id":770,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/posts\/282\/revisions\/770"}],"wp:attachment":[{"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/int03.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}