Organize and Share your Electronics the way you want. Sign-Up for a free account now. It takes only 30 seconds!

Mastervolt Soladin 600 Optical Interface Noise Fail

Mastervolt Soladin 600 Optical Interface Noise Fail

Since we solved the RF interference problems http://www.briandorey.com/post/mastervolt-soladin-rf-filtering.aspx with our Mastervolt Soladin 600 mains inverter we had planned to use the data port to link to our Raspberry Pi based home data logger system so we could record the power generated by the solar PV panels and the inverter.

Due to all the problems we had with the RF interference in the past with this mains grid-tie inverter we didn’t want to use copper wires to connect the built in UART port to the Raspberry Pi.

In the past we have used optical Toslink cables and interfaces to connect between isolated systems to enable serial communications and after testing the interface with a UART cable adapter to an Arduino Uno using code from https://github.com/teding/SolaDin we decided to use the same Toslink cables and interfaces to link the mains inverter to the Raspberry Pi using an Atmel IC to process the serial communications and use the IC as an I2C host which the Raspberry Pi can communicate with to retrieve the data as needed.

When we initially tested the communications with the inverters data port using a long cable we had a few problems with RF pulses being mixed with the serial data which resulted in some corrupt data being returned. We thought that by removing the copper wire which was acting as a large antenna this would solve the data being corrupted by the RF noise generated by the inverter.

Opto Couplers and new Optical board Inverter connection

Andrew designed a small pcb which has the RX and TX optical interfaces and also designed a circuit with an Atmel IC to fit on the Raspberry Pi to act as the I2C slave device and optical interface.

We initially removed the existing opto couplers from the PCB as we intended to drive the optical interfaces direct from the Microchip Pic on the inverter but this didn’t work on the TX side of the circuit. We then refitted the opto couplers and drove the optical interfaces from the isolated side of the circuit and found a suitable 5V supply to run the new optical board. We used a screened cable to connect between the PCB and our new optical interface board.

Using our Saleae Logic 8 interface we monitored the TX and RX lines on the Raspberry Pi interface and also on the inverters new optical board and we found that the data from the Raspberry Pi to the inverter was being received ok and without any noise on the signal but the returned data being sent from the inverter had very bad interference and this was causing the same corrupted data issues we experienced when using the copper wire connection.

We tried connecting the TX pin on the inverter’s microprocessor to the Saleae Logic 8 interface and found the same noisy signal which was being received at the Raspberry Pi was present at the sending end!
The data pcb traces run the full length of the inverters circuit board and the only way that we can think that the signal is being corrupted is by the length of the tracks being on a resonant harmonic of one or more of the spurious signals being generated by the mains inverting stages on the board.

Screened Cable routing Optical Ports on top of the case

One possible solution would be to carefully unsolder the TX and RX pins on the microprocessor and lift them away from the PCB and connect these direct to the new interface board but we are reluctant to do this in case we break something!

If anyone has any ideas for resolving these interference problems, please send me and email or leave a comment below.







 

More Articles to Read

Raspberry Pi RF frequency counter
Raspberry Pi RF frequency counter
Binary clock
Binary clock
Play the guitar on a guitar bag
Play the guitar on a guitar bag
NanoPi NEO – Smaller and faster than Raspberry Pi Zero
NanoPi NEO – Smaller and faster than Raspberry Pi Zero
PT100 Control Board for Raspberry Pi. Completed!
PT100 Control Board for Raspberry Pi. Completed!
LEGO Train Automation – IoL Internet of LEGO
LEGO Train Automation – IoL Internet of LEGO
9-year-old creates an award-winning, life-saving asthma monitor
9-year-old creates an award-winning, life-saving asthma monitor
Make your own LoRa gateway with less than $200
Make your own LoRa gateway with less than $200
Marty, the nice educational robot can now feature a Raspberry Pi
Marty, the nice educational robot can now feature a Raspberry Pi
Build a pan and tilt camera with Raspberry Pi + Arduino
Build a pan and tilt camera with Raspberry Pi + Arduino
An open source 3D Scanner made with Raspberry Pi
An open source 3D Scanner made with Raspberry Pi
Honey, I shrunk the NES… with Raspberry Pi and Arduino!
Honey, I shrunk the NES… with Raspberry Pi and Arduino!
Industrialberry: industrial embedded computing solutions for Raspberry Pi
Industrialberry: industrial embedded computing solutions for Raspberry Pi
LoRaBerry: the new Long Range Wireless for IoT available on Raspberry Pi
LoRaBerry: the new Long Range Wireless for IoT available on Raspberry Pi
ArduCAM Introduces tiny Raspberry Pi compatible board
ArduCAM Introduces tiny Raspberry Pi compatible board
Lawn Da Vinci is an open-source, remote-controlled lawn mower
Lawn Da Vinci is an open-source, remote-controlled lawn mower
LCD 16×2 Interface with Raspberry Pi
LCD 16×2 Interface with Raspberry Pi
Warm Tube Tone Is Just What the Raspberry Pi Has Always Been Missing
Warm Tube Tone Is Just What the Raspberry Pi Has Always Been Missing
Pi Zero POV
Pi Zero POV
PaPiRus Zero – ePaper / eInk Screen pHAT for Pi Zero
PaPiRus Zero – ePaper / eInk Screen pHAT for Pi Zero

Top


Shares