Gas station without pumps

2017 May 31

Twenty-third weight progress report

Filed under: Uncategorized — gasstationwithoutpumps @ 09:19
Tags: , , , , , ,

This post is yet another weight progress report, continuing the previous one, this being the 22nd since I started in January 2015.

I had a gradual rebound after my concerted effort to lose weight, and I’ve not been able to get back to where I was when I declared my diet a success.

My weight is leveling off, around 163 pounds, but not really dropping as I’d like.

My goal for Spring quarter was to get my weight back down to 158 lbs, another 5-pound loss, which is not possible in the remaining 2 weeks, as I have not even been able to hold steady at a my mid-March weight, much less lose.

My exercise for May 2017 was about 5.35 miles a day of bicycling, but exercise does not have much effect on weight (except at the extremes of no exercise and endurance racing).

2017 May 30

Need to find new PC board software

Filed under: Uncategorized — gasstationwithoutpumps @ 21:54
Tags: , , , ,

I need to find an learn some new PC-board layout software.  For several years I’ve been using Eagle, a reasonably decent program from Cadsoft that was free (in a crippled version) for hobbyists and reasonably cheap for small-scale commercial use.  Apparently the program (or the company) was bought by Autodesk, and the newest version requires that you login with an Autodesk account every time you use it.  Furthermore, the upgrades now come by subscription, not purchase.

I am not willing to log in to a web-based account every time I use my PC-board layout tool (even though I do that for my schematic capture for non-PC-board schematics—I think I understand how Digi-Key monetizes Scheme-It, and I’m comfortable with it).

So I’m now looking for new software to use for PC board design.  Open-source would be nice, but only if the user interface is not horribly clunky (as so many open-source projects are, such as Gimp and Inkscape, both of which I’ve used, but am not fond of). Free, or very cheap, are important to me, as I mostly do PC board design as a hobby, and I’d like to encourage students to use the tools I use, which is not compatible with expensive software (such as the Cadence suite that UCSC pays for).

The main programs I’ve heard of other than Eagle are DipTrace and KiCAD, and I’d like to hear reviews from users of them.  Last I heard, KiCAD was both clunky and woefully incomplete, but that was some time ago, so things may be different nowP.  I know of one student who likes DipTrace, but I’m slightly worried that they’ll go the route of Eagle, raising barriers to easy use. Other suggestions would be welcome, as would updated information on the strengths and weaknesses of the different programs.

I don’t want programs that tie me to a particular manufacturer of PC boards, as I’d like to be able to take advantage of cheap prices (like Elecrow’s new offer of 5 10cm×10cm boards for $4.90).

Anyone out there with suggestions or experience?

2017 May 27

Electric lawnmower repair

Filed under: Uncategorized — gasstationwithoutpumps @ 14:21
Tags: , ,

I have a Black and Decker electric lawnmower (model MM1800 type 1), which I have used for a few years, ever since my previous electric lawnmower failed.  A few weeks ago, the lawnmower failed while I was mowing the waist-high grass in the backyard (a heavier load than the mower is designed for).  The failure mode was an interesting one, though—it blew the circuit breaker for the outdoor outlet.  I figured that some of the wet grass had gotten into motor compartment and shorting out the circuit, so I left the mower in the sun for a couple of hours to dry out and tried again.  It still blew the circuit breaker, so I put the mower away until I had time to work on it.

Last weekend, I took the cover off the mower to see if I could see an obvious short circuit.  This looked like it would be an easy job, as the cover is just held down by 6 screws, but the screws are recessed, and there was so much impacted grass built up over them that it took half an hour or more to dig out the grass enough to turn the screws.  One I got the cover off, the amount of grass inside the motor compartment was scary—after dumping out about 200 cubic inches of grass, I spent half an hour with a vacuum cleaner and a screwdriver cleaning off the stuck-on grass clippings.  Here is what it looked like after cleaning:

The mower is very simple, and looks pretty good after all the grass clippings have been removed. All those spaces between the reinforcing ribs were packed solid with grass clippings.

I thought that perhaps the huge buildup of grass clippings had been causing the short circuit, but after removing all the grass, I saw no signs of blackened wires or other evidence of arcing. I also disassembled the switch handle to look for evidence of shorts there. Again, there was nothing visible. I tried powering up the mower while it was open—still the circuit breaker blew instantly.

The lawnmower design is a simple one:

The motor driving the blade is a large brushed DC motor. The switch either provides power to the motor (on) or shorts it out (off) to brake the motor. (Schematic fixed 2018 June 6)

There is easy access to the wiring.

Here is what the rectifier looks like in situ. The four wires are on slide-on connectors, and the rectifier is screwed to a small metal plate that acts as a heat sink.

I got out my cheap ohmmeter and started checking continuity and measuring resistances. I quickly determined that the switch was working correctly, and the the motor itself did not seem to be shorted, but the bridge rectifier was acting as a short across the AC inputs, even with no load connected. I then looked online and found a site that said that the bridge rectifier was one of the most commonly failing parts for the Black and Decker mowers, and that Black and Decker charged ridiculous amounts for replacements. They also said that the part was a 15A, 400V bridge rectifier in a standard package. The one in my mower was labeled GBC2504, which is a 25A, 400V bridge rectifier (so, for that matter, is the own shown on the web page that claimed it was a 15A one). I ordered a 50A, 1000V bridge rectifier from Digikey, which cost $1 more than the closest equivalent to the one Black and Decker used, but even with shipping was half the price of the list price of the poorer rectifier from B&D. Based on the derating curves on the data sheet, the 50A bridge rectifier should be able to run about 30°–40°C hotter before it fails. My only concern is that this might be too good—that B&D was using the rectifier as a cheap point of failure at high temperatures. With the better rectifier the motor might overheat and burn out before the rectifier fails, and a replacement motor is not a $3.50 part.

This morning I replaced the bridge rectifier with the new one, being careful to clean the metal plate and put on new thermal grease to get good thermal contact to the heatsink. The mower started up right away and gave me no problems with mowing the front lawn. I’ll try tackling the waist-high grass tomorrow, but today I need to do some grading. (I have a homework set and something like 22 redone lab reports to grade during this long weekend—I think I’ll be able to clear that this weekend before getting more redone reports on Wednesday.)

2017 May 19

Baking in inequity in funding

Filed under: Uncategorized — gasstationwithoutpumps @ 08:11
Tags: ,

UCOP (University of California Office of the President) and the UC Regents recently decided to limit out-of-state students at UC campuses.  But they did not do so uniformly across all campuses.  They decided to let UCB, UCLA, UCSD, and UCI have more out-of-state students than the other campuses and to keep the extra tuition collected.

This continues a pattern that has been in place at least as long as the 31 years I’ve been at UCSC of ensuring that UCB and UCLA get more funding per student than the younger campuses.  I’ve seen no evidence that UCOP or the UC Regents have any intention of ever treating the campuses equitably.  Even when they are strongly pushed to do so, they find ways to weasel out and bake in extra money for UCB and UCLA (like the “rebenching” initiative, which was touted as redressing imbalances, but ended up making them worse).

2017 May 18

Midterm quiz doesn’t tell me much new

Filed under: Circuits course — gasstationwithoutpumps @ 09:53
Tags: , ,

I don’t usually give exams in my courses any more, because I’m more interested in what students can do when they have time and resources than what they can do on toy problems under resource limitations.  But if students don’t do the homework, then they don’t learn the material, so I threaten each class that if too many students don’t turn in the homework, I’ll have to add a quiz (worth as much as one of the lab reports, each of which is equal to all the homework) to the course.

This quarter I had to follow through on that threat, because 12% of the class had turned in half or less of the homework (and by that, I don’t mean answered half the questions—I mean turned in nothing at all for half the assignments).  A quarter of the class had not turned in 25% or more of the assignments.

I gave the quiz yesterday, with 6 easy questions that only tested the very basic material: single-pole RC filters (passive and active) and negative-feedback amplifiers.  I told students ahead of time (and on the exam) that they could use the Bode approximations (the straight-line approximations to the gain of the RC filters) and we even reviewed them in class last week.  There were 60 points possible on the test, and none of the questions were design questions—they were almost all of the form “what is the corner frequency?” or “what is the gain of this circuit?”.

There are a small number of students in the class whose probity I have reason to question, so I took steps to reduce cheating that I would not normally bother with: I made up two versions of the test (same schematics, but different component values) and alternated them in the piles passed along each row.  I also had the students sit in different rows from usual, reversing front and back of the room, with the front row reserved for latecomers. I’ve noticed a high correlation between good homework grades and people being on-time and in the first two rows, so I had those students sit in the back row, where no one would be able to copy from them.

I normally figure that a test is appropriately long if an expert can do it in about a quarter of the time allotted.  So I made up the keys for the test while the students were taking it.  Working through one form with the Bode approximations took about 5 minutes.  Doing exact computation with the formulas for series and parallel impedances and complex numbers using only real-number arithmetic on my calculator extended that by another 15 minutes.  The students had 63 minutes, so the exam was too easy if the students used the Bode approximations (as they were told) but a little too hard if they worked just from the fundamentals of complex impedance and negative-feedback amplifiers.  As a consequence, I decided to give bonus points for exact computations of the gains that didn’t use the Bode approximations, though the class was not informed of this bonus, because I didn’t want them to waste time on the tiny bonus.  (The differences in answers were small, because I had deliberately asked for gains only at points well away from the corner frequency, so that the Bode approximations would be good.)

Even if students really didn’t understand complex impedance or RC filters, 39 of the 60 points could be earned with just DC analysis of the negative-feedback amplifiers and knowing that capacitors don’t conduct DC.   So I was hoping that students would do better on these very easy questions than they did on the harder design questions of the homework.  As a confirmed pessimist, though, I expected that students would show almost exactly the same distribution on the test that they showed on the homework, with the middle of the class being around 20 out of 60 points and showing serious misunderstandings of almost everything, with a long tail out to one or two students who would get almost everything right.  I also expected that the correlation between the homework scores and the quiz scores would be high.

So what happened?  First, I saw no evidence of any cheating (not that I had expected any), so that is one worry removed.  Second, my pessimistic assumption that students really were not learning stuff that they had done many times in homework and in lab was confirmed:

Here is a stem-and-leaf plot of the scores:

OO: 3
05: 6889
10: 011112444444
15: 555667777899
20: 00111112223344
25: 677999
30: 12224
35: 5678
40: 00444
45: 67
50: 01
60: 2

The median is indeed 21 out of 60, as I feared. At least no one got a zero, though the scores at bottom indicated complete failure to apply the basics of the course.

Most students could compute a corner frequency from a resistor and capacitor, but few had any idea what to do with that corner frequency. Many students could compute the DC gain of a non-inverting amplifier, though many could not then apply this knowledge to the DC gain of an active filter (which only requires replacing the capacitors with open circuits). A lot of students forgot the “+1” in the formula of the gain for the non-inverting amplifier.

Inverting amplifiers were even less understood than non-inverting ones, with students forgetting the minus sign or trying to use the formula for non-inverting amplifiers.

A lot of student answers failed simple sanity checks (students were having passive RC filters with gain greater than 1, for example).

Very few students used the Bode approximations correctly, and many tried the exact solution but either couldn’t set up the formulas correctly or couldn’t figure out how to use their calculators, often getting numbers that were way, way off.  Others seem to have ignored the complex numbers and treat x+jy as if it were x+y.

One disturbing result was how many students failed to recognize or understand a circuit that they have designed in three different labs: a voltage divider and unity-gain buffer to generate Vref, combined with a non-inverting amplifier. I asked for the output voltage as a function of the input voltage (both clearly labeled on the schematic). This was intended to be almost free points for them, since they had used that circuit so many times, and the formula they needed was one of the few formulas on the study sheet: \frac{V_{out}-V_{ref}}{V_{in}-V_{ref}} = 1 + Z_{f}/Z_{i} . The frequent failure to be able to fill in the blanks of this formula for a circuit that they have used several times in design makes me question whether the students are actually learning anything in the course, or if they are simply copying designs from other students without understanding a thing. (Note: the extremely poor performance and group-think duplication of ludicrously wrong answers on pre-lab homework this year has also lead me to the same question.)

Did the quiz tell me anything that the homework had not already told me? Here is the scatter diagram:

Pearson’s r correlation is 0.539 and Kendall’s tau is 0.306, so the homework and quiz scores are highly correlated. There are a few outliers: a diligent student who bombed the quiz and a student who has turned in few of the homeworks who actually understands at least the easy material. The points have a small amount of noise added, so that duplicate points are visible.

The high correlation between the quiz and the homework mostly confirmed my prior belief that the quiz would not tell me much that is new, and that the homework grades were pretty reflective of what students had learned. I will want to talk with a few of the most extreme outliers, to find out what happened (why were students who mostly understood the material blowing off the homework? and why did diligent students who had been doing moderately well on the homework bomb the quiz—is there undiagnosed test anxiety that should be getting accommodations, for example?).

Most of the points that were earned were from students randomly plugging numbers into a memorized formula and (perhaps accidentally) having chosen the right formula and the right numbers. Only a few students showed real understanding of what they were doing, and only one student saw the quiz as the trivial exercise it was intended to be.

It seems that the hands-on active learning that I have been so enthusiastic about is not working any better at getting students to learn the basics than the traditional (and much cheaper) droning lecture that EE uses. I’m not in complete despair about the course, as there is some evidence that students have picked up some lab skills (using oscilloscopes, multimeters, soldering irons, …) and some writing skills (though many are still not writing at a college level). But I’m trying to teach the students to be engineers, not technicians, so I was aiming at them understanding how to design and debug things, not just implementing other people’s designs. Picking up lab skills is not enough for the course.

I need help. How do I reach the lower half of the class? How do I get them to think about simple electronics instead of randomly applying half-remembered formulas? We’ve only got 3 weeks left—I don’t know how much I can salvage for this cohort, but I certainly would like better outcomes next year.

Next Page »

%d bloggers like this: