Moshi-to-laos-conversion-SH-K40-1V » History » Revision 4
Revision 3 (bullar, 2014-08-24 22:30) → Revision 4/7 (joostn, 2014-08-26 13:31)
h1. Moshi-to-laos-conversion-SH-K40-IV
I bought my Chinese Laser Cutter from German vendor in 2014 in order get a Laser Class 1 system. A Class 1 laser is safe under all conditions of normal use. No need for any eye protection which increases the WAF (wife acceptance factor).
After some trials I faced the common issue with MoshiDraw and the corresponding controller (MS10105 V4.5). One of the severe drawbacks of V4.5 is the missing link between controller board and laser power control. The laser power has to be set manually for each job.
The next versions of the controller (V4.6) solves this bottleneck but it's still a closed system. And the Chinese MoshiDraw software is ugly...
My new objective was clear: I have to move to open source (LAOS). The following pages will describe the findings I had due to some differences in the actual machine version.
h2. Differences to older posts
h3. Laser Power
My laser cutter hosted a MY JG40W power supply with PWM power control input.
!{width:30%;height:30%;}laserPSU.png!
*I used the following connectors:*
|*K-*| trigger button -| _to panel button_ |
|*K+*| trigger button +| _to panel button_ |
|*G*| Ground | _to LAOS main controller (GND) and level shifter unit_|
|*IN*| PWM input, 0/5V, 0...100% duty cycle | _to LAOS main controller (Laser PWM) via level shifter unit_|
|*5V*| +5V output| _for level shifter unit only_|
|*24*| +24V output| n/c |
|*G*| Ground | _to LAOS main controller (GND)_|
|*5V*| +5V output| n/c |
|*L*| Laser on | _to LAOS main controller (Laser On)_|
24V and 5V from this power supply are not used in my installation. There are separate PSUs available in order to keep the controller operating while the laser is powered off (laser class 1 safety issue).
h3. Laser power controller
Here the actual system is much more modern and supports a digital power adjustment in 1/10, 1 and 10% steps (but still suffers from missing link to main control board).
The board is called 6C6879-LEDPAD-A. It was replaced by an I2C-Panel of LAOS
!{width:30%;height:30%;}ledpad.png!
h3. The new control panel
I added a LED showing the laser activity and a button to trigger the laser. The rest is supported by I2C-Panel. The front design file (SVG) is attached.
!{width:30%;height:30%;}IMG_0129.jpg!
h3. Signal integrity issue
LAOS main board uses optocouplers for laser control (if you don't use the transistor output). In a lot of config files I found that PWM frequency is set to 1KHz.
In my system the frequency from power control panel was 21KHz. But this is a little fast for the optocouplers. The ground level get weak even with a pull-up of >470Ohm.
The picture shows the signal at optocoupler (reference in yellow is the transistor output w/o optocoupler).
!{width:30%;height:30%;}PWM_signal_integrity.png!
Therefore I decided to build a level shifter unit. With an op-amp (TLC271) the level at the optocoupler is judged at approx. 3V (with few 0.1V hysteresis). A following schmitt-trigger
(74LS14) drives the laser PSU directly. Power (+5V) for this circuitry is provided by the laser PSU in order not to jeopardize the isolation.
The level shifter soldered on a small PCB:
!{width:30%;height:30%;}IMG_0130.jpg!
h2. My Laser cutter after all modifications (until m/o Aug 2014)
!{width:30%;height:30%;}IMG_0133.jpg!
I think I have the same machine, made by 'ecpur' and bought on ebay. Another useful addition is a 2A fuse in the mains connection, my machine had very thin wires. Also be careful with the 220V input to the power supply: the green connector can be plugged in reversed, which will short one of the power lines to the metal frame. I did this and the fuse saved me from bigger trouble. - joost