November 2026

Hydro Dam, Part 5: First Run!


Posted on November 24, 2026 by admin

Finally, the big day came… It was time to turn on the facility for real. September 28th, 2025. Pretty scary….

Well, anyways, let’s get to it. Unfortunately, I forgot to take a lot of pictures here, so you will have to be satisfied with more text than usual.

The first step was to open the valve just a bit while measuring the voltage on the induction motor to see if the turbine was spinning at all. How can we verify that the turbine is spinning? Apparently, there is a tiny bit of residual magnetism in an induction motor rotor. This means that, even with no magnets and no grid connected, the motor will produce a very tiny amount of back-EMF, which can be measured with a scope. To my surprise, this technique worked great, and we were able to verify that the turbine was, indeed, spinning. Here is a scope shot of the back-EMF with the valve opened ~20%, which is about 18Hz:

The next step was verifying that the power-up sequence was working as intended. I connected everything as it was intended, except for the main contactor which I left disconnected. This ensured that it could not close. I flipped the ‘run’ switch and ensured that the valve began to open. I flipped the main switch back to ‘stop’ and verified that the valve closed. I did this several times while monitoring the turbine electrical frequency. I allowed the valve to open to 20%, then close, 30% then close, 40% then close, etc. Everything seemed to work as intended, and experimentally, it seemed that 45% valve opening led to roughly 60 Hz turbine speed. So, I coded the board to close the contactor when the valve reached 45%.

Anyways, that was easy. Next up, the scary part- actually generating power by closing the main contactor. You can do all the testing in the world, but at some point, the contactor has to close, allowing the unstoppable force (the grid) to meet your very movable object (the turbine). I connected the 120V contactor power to my board, and prayed to the electrical gods.

Anyways, more or less, it worked.

The water began to flow:

The holes in the turbine taper began to spray:

The valve continued to open, and with a loud CLUNK, the contactor closed. A clunk is good, a BANG is bad. But a clunk it was, and we began to generate power!

However, something was off. My board reported a generated power of only 12kW, about five times less than expected. Hm, whats up?

After being sad for a little while, it finally occurred to us to check the output of the Solar Edge meter, which also measures power production. We were not disappointed: 50 KW! YESSSS!!!

The mood was improved considerably:

I “modified” my board by simply placing a piece of tape over the screen. Professional.

Anyways, it was time to wrap up for the day, and Aaron headed back to Poland. Back in the USA though, limited progress continued. I performed a whole brain transplant on the site, installing a bunch of standoffs which spaced my board closer to the window at the front of the panel:

I attempted to decipher the innards of the hydraulic pump unit, which had an absolute pile of valves and wires:

I also improved the code considerably,

Anyways, that’s where I will leave this post. We wrapped up the end of 2026 with a running site, if just barely. Not much running occurred, but still- the site did run.


0

Hydro Dam, Part 4: Getting Ready for First Run.


Posted on November 24, 2026 by admin

Lots of life stuff has been happening lately, but its time to sit down and catch up on my blog posts. Let’s see what I’ve been up to in (roughly) the past year.

With the hardware-in-the-loop testing complete as shown in part 3, it is time to get serious- time to get the facility ready for the first run. But, before we can start the facility, there was a ton of prep work to do. As the reader can probably guess, this was a ton of work.

Back all the way in June 2025, I built up two main control boards, one for testing and one for use. I installed one board into the facility screwed to a piece of plywood. The idea was to get something, anything running, and let it exist in the wild for a while, and see if it survives a few months without blowing up. The board wasn’t connected to any power components yet, but we hooked up a variac and depth sensor to the main board. We data logged to an SD card: Water pressure from the single depth sensor, variac grid voltage (with the variac set at 12V), air pressure, and air temperature in the electronics shack.

The first time, the data logger didn’t work because I put the wrong firmware on it, but the second time, it worked, and we got some data! You can see a sharp decrease in pond depth on day 2- this was because the water flow on our river was decreased by reducing the Squam Lake outflow flow through the state-controlled top dam on our river.

More interesting was the temperature data. Its pretty clear that the electronics hut gets quite warm in the summer. Black roof, no airflow, I guess this is how it goes.

Also interesting was the line voltage measurement captured in this first log. It was not 100% steady- some amount of fluctuations are present. I am not sure how much of this is temperature drift affecting the ADCs on the board, versus how much is actual line drift. I’m sure you could do some sort of correlation to see if it has to do with day/night electricity demand, but that is for another time.

The cool data was collected, but, now let’s make this place run for real. I did a ton of coding to make the dam controller ready for the task of running the dam for real.

Now that Aaron got the turbine installed, It was time to install the control board in the cabinet. Originally, I designed my board to be mounted inside the main control panel. But the main control cabinet was already full of 1985 electronics, and Alan and Aaron were adamant that none of these electronics should be moved until my electronics worked for at least six months. This is a pretty reasonable request, given that my electronics are homemade. So, the compromise was to install my electronics in a separate box on the front of the main box. Alan made this box and I installed it on the front of the main cabinet.

This was done on July 26th, 2025. Slow but steady progress. I mounted my dam board in the box.

July and August saw little progress on the facility, due to many of us travelling. But we were primed to hit the ground running in September. Also in September, a local robotics company was going out of business, and this meant it was time for a massive cruftsplosion. Alan got a whole truckload of stuff, some of which we used for the facility.

With the cruft acquired, it was time to get back to work. We spent two full weekends in September at the dam. Because we have had nearly zero rain since July, the flow was only about 15-20 CFS, compared to the nominal 60 CFS.

We wired in the Solar Edge meter into the front panel box. This is our revenue-grade meter, which actually will report power consumption.

Also, after several calls to the town, the power company came to re-connect our 480 service. Surprisingly, there we no loud bangs when they threw the switch. “She’s armed.” Now the facility is extra spicy.

Aaron did some work on the conduit which holds the wires coming from the turbine. One joint had come loose, so he took the conduit off, blew out all the water that had seeped in, and tightened it back up.

The biggest task was wiring in the sensing current and voltage transformers for my board. This allows the board to measure power production and detect faults. The line voltage is measured through three 480 to 24V transformers. We didn’t have much space in the cabinet, but needed to mount these transformers somewhere, so they went on the side.

The voltage sense transformers mounted. I originally terminated these voltage measurement transformers in wye on both sides. Pay attention to this- this will be important for later.

Next up, I wired in the original current transformers into my board. These 200:5 current transformers make a current, which is measured on my board with hall effect sensors.

I wired in the board and connected the voltage and current transformers. Powered it up….

I also wired in the buttons on the front panel to my board. I also added a helpful label to the start switch, using a fancy label maker Aaron got from the Lincoln town dump.

We camped at the facility to get an early start. The stars up there are really, really beautiful.

I also helped with some mechanical work on the facility. Here, Aaron lowers a cooler into the basement.

I assisted by climbing up the gantry. Honestly, I don’t remember why I did this. I think it had something to do with untangling the extension cable. But it was fun.

Aaron filled the hydraulic pump unit with a bunch of turbine oil. We got it circulating the oil. The pressure was high, indicating some sort of flow restriction, but it did indeed circulate the oil.

I prepped and installed the valve controller. I wired in a potentiometer to measure the position of the valve. With the potentiometer installed, we should be able to precisely control valve position.

I also installed the valve controller in the site. I forgot to take photos of most of this (of course), but for now, I just taped it to the table. I verified that the valve controller could actually track a position command.

With the voltage and current measurement transformers hooked up, it was time to turn on the main disconnect and verify that the main board could measure the line. We threw the main facility switch- surprisingly there were no bangs. Great news! On my board though, the B phase was dead- zero volts measured. It turned out one of the 480:24 transformers was damaged during shipping, and one of the tiny 480 wires had come loose. A bit of soldering and we were back in action. We threw the big switch again and ended up with…. About 200 volts on phase A, 180 volts on phase C, and about 500 volts on phase B. Huh? I checked the wiring on my voltage measurement transformers to make sure it was correct, which it was.

This problem was a real headscratcher. We measured each line to line voltage with a multimeter, and got about 495 on each. This is as expected. But, the voltage line to neutral was nowhere near right, and the multimeter agreed with my board. We confirmed with the oscilloscope that each line had something weird going on. What was wrong? A quick check out in our gigantic transformer cabinet revealed the grid-tie transformer wiring, which was shown below:

It turned out that the output of our grid-tie transformers was actually connected in delta, not wye as I had assumed. With a delta, there is of course no neutral connection. The motor has a neutral connection, which is always tied to ground. But, with the motor not yet connected by the main contactor, all three phases are floating. This means that any line to ground or line to neutral measurements will really measure stray capacitance and resistance in the transformers- in other words, a garbage measurement. Hmm.

It is ideal to measure the voltage on each phase, so that it would be possible to see what was going on with individual phases. But, the problem was fundamentally that there is no neutral to measure to in the unconnected system, so it cannot be used. Wanting to get things working quickly, I re-connected the voltage measurement transformers in delta. This would cause other weird effects down the road, but that is for a future post.

Anyways, with a lot of prep work done, read on in the next post,


0