Doorgaan naar hoofdcontent

photo interrupter , lichtsluisje HBM BF30 toerenteller

I got a second hand (but barely used) BF30 clone milling machine.
The rpm meter was not working correctly (not showing high RPM, nonsense numbers)
I investigated and found the photo interrupter on the spindle axle.
It was covered in grease (sticky brown Chinese transport grease).
After taking it apart I noticed all holes were over-sized (and slotted).
Mounting the thing back and getting the perfect alignment would be a gamble (I like more precise work, but it appears all holes in this machine are too large or slotted, every edge is sharp and needs deburring).

I made a little tool to check the workings, it is impossible to adjust once the motor is mounted so it has to be correct before I put the motor back on the machine.

Here is the setup :



The ring has 16 holes, so the rpm is more accurately (or quickly) determined.
How this works : the system counts number of pulses in one second and from that displays the number of rpm ( NL: toerental in omwentelingen per minuut)  (rounds per minute) 60 seconds in 1 minute, so 1 pulse per second would be 60 rpm (if we had only one hole), since we have 16 holes, 16 pulses per second would be 60 rpm)
For some reason rotational frequency is expressed in rounds per minute and not in rounds per second, which be more in line with scientific practice.

The disk is blocking the flow of light (interrupting) and the LED turns off.


I used a very simple test to verify alignment.
Not using any transistor, logic gates or op-amps, just an efficient blue LED and 2 resistors.


Close up of total implementation


Test on the workbench, no problems here.


The fact that the output signal is proportional and not clipped into a logic value actually helps with alignment, the led can glow at half power if some light is received, it is very handy to use this "Analogue" alignment tool.





Just a solution for my little setup, use if you like, if it does not work, sorry about that.

Reacties

Populaire posts van deze blog

Denon DHT T100 DESIGNED TO FAIL : bad caps (ceramic caps this time)

A friend gave me a Denon DHT-T100 to look at. Do not spend much time on it.. ok. It had a problem, it started clicking and ticking after power on, and after some time. (a so called intermittent problem) Sometimes it did not tick or click, but it was basically not usable. The clicking had a sharp click in one channel and repeated after about a second, then sound recovered and it would click and drop out again. He told me, do not spend any time on it, yeah, right. ;-) like I would give up after 15 minutes. I wanted to know what was going on with this thing, I found some schematic online and started measuring the usual things. The power supply, 24V did it drop down when a tick occurred ? Difficult to find out because sometimes the thing would play for hours without a glitch. I eventually found out the 24 V PSU, the step down SMPS on board and the LDO's were all ok, all power rails remained within spec, but it still glitched sometimes. (while power was ok) I investigat

Fixed voltage on cheap buck converter (MP1584) conversion with single 0805 resistor

Everywhere I look on the Ali and Ebays I see these step down converters based on MP1584. I bought a couple and actually they are not bad at all. The output voltage is set by the trimming-resistor in the left top corner of the picture. This works OK, but.. it is dangerous because it is rather sensitive to the touch. I decided that I wanted fixed output, so I had to figure out how this thing worked. The datasheet looks like this : R1 in the datasheet is what I call "R feedback" in my image. The value of R2 is mostly 8.2K Ohm in the boards I have seen.  So to set some common values for output voltage: change R1 to 27K for 3V3 output (actually 3.4 volt, but 27K is a standard value) or change R1 to 43K0 for 5.0 Volt output. (43 K is a standard value) A standard 0805 size resistor fits precisely, how convenient ;-). Make sure the other resistor is really 8.2K because that determines the feedback ratio. This way you can not burn up your circ

DPS5005 power supply, remote control using python serial port modbus

Just a short one. I bought one of these things. It can do 50 volt 5 Amp, I have not looked at the quality of the output (noise, overshoot all unknown to me)  but should be alright to control a lamp, a battery or a strip of LED's is my guess. You can easily control the current and voltage output using a serial port. (a usb-serial-rs485 was provided) I seems to talk modbus protocol. To change the baud rate and modbus-slave-address, keep POWER button pressed during power on, this will enter you into the configuration menu. register list here : Register Map for this device. Function Description Number of bytes Decimal places UNIT Read/Write Register address U-SET Voltage setting 2 2 V R/W 0000H I-SET Current setting 2 3 A R/W 0001H UOUT Output voltage display value 2 2 V R 0002H IOUT Output