2
\$\begingroup\$

For a project I'm working on, I wanted to clone this e-paper driver board and eventually integrate it into my project's board. Here's a part of the schematic: enter image description here

However, with my custom prototype clone that I did with EasyEDA, I lose almost all of my signal when I connect the e-paper display over an extender flex cable. The signal that I'm focusing on for testing is the GDRH signal which turns on the mosfet Q1. The image below shows the original board by Good Display that I'm trying to clone, connected to the e-paper display. enter image description here

Here's how the GDRH signal looks like on the original Good Display board, measured directly at Q1: enter image description here

It looks the same with or without the extender cable. The on-phase is 1.5us wide and the rise and fall time is roughly 30ns. Here's my clone board connected. Yes it's very crude and full of engineering sins because I'm a beginner: enter image description here

Now here's the signal without the extender cable: enter image description here

Even though the display is connected directly to the board, the signal has already deteriorated alot. The on-phase is much shorter and the rise and fall times are much longer. In this configuration the display still works fine. This is the signal with the extender cable attached: enter image description here

There's barely anything left. The on-time is so short, that the image quality of the display is significantly degraded. The signal looks like this even when measured on the display side.

As a beginner I have no idea what went wrong. My best guess is that the connector I used in my design, which isn't the same model as the one used in the original board, introduces more resistance beween the extender cable and the board and this creates an RC circuit. But can that really be? I have no reason to assume that this connector is worse than the original. The cable fits tightly and when pressing on the cable and connector it doesn't change the signal.

I also can't imagine that it's the mosfet, but for reference here's the one used in the original and here's the one I used. I also didn't add a ground plane because I didn't know how to do it at that time. Here's my PCB layout. The line in question is highlighted and was auto-routed. enter image description here

Keep in mind that the particular line I measured for testing is only connected to the connector, the gate of the Q1 mosfet and the R2 1MΩ pull-down resistor (well, and my probe). I double checked my design to make sure I didn't accidentally connect another component, and I didn't. Any explanation for why the signal is so much worse on my board?

Update:

Here's my schematic: enter image description here

\$\endgroup\$
8
  • \$\begingroup\$ This is pure speculation but the gate capacitance of your transistor is a lot higher than the gate capacitance of the original. This could make a difference, particularly if you are trying to have short pulses. Is the GDRH signal coming from the display itself? \$\endgroup\$
    – Tony
    Commented Jul 3 at 3:18
  • \$\begingroup\$ @Tony Yes the signal comes from the display itself. But why would it make such a huge difference between no extender cable and cable attached? And the cable makes no difference when used with the original board. I prefer to use "basic parts" when possible because "extended parts" cost $3 assembly fee each. That's why I used a different mosfet. \$\endgroup\$
    – uzumaki
    Commented Jul 3 at 4:13
  • \$\begingroup\$ If by "extender cable" you mean just a longer cable than the standard connection, then it will have some additional inductance and it will make it harder for the gate to get up to full voltage (or back to ground) quickly. The display is having to drive a certain amount of charge onto or off the gate to change the voltage, and it's an order of magnitude more with your choice of transistor. Additional inductance will prevent current from flowing as quickly (maybe not such an issue if the required charge is small). Any in case, this is still just speculation about the cause of your issue. \$\endgroup\$
    – Tony
    Commented Jul 3 at 4:31
  • \$\begingroup\$ @Tony But shouldn't the signal slowly start rising and then slowly fall with the overall duration being the same? If you look at the curve you can see that before and after the spike the signal is absolutely flat. In other words, it got truncated and not just smoothed out. \$\endgroup\$
    – uzumaki
    Commented Jul 3 at 5:07
  • \$\begingroup\$ Swapping the transistor for the Vishay part would be one way to check. If swapping the transistor is hard then perhaps you are better to wait for others to suggest other possible causes of the problem. \$\endgroup\$
    – Tony
    Commented Jul 3 at 5:32

1 Answer 1

4
\$\begingroup\$

I also didn't add a ground plane because I didn't know how to do it at that time.

That's the primary source of the problem.

Even though the display is connected directly to the board, the signal has already deteriorated a lot.

Something couples to the gate signal, obliterating it.

Here's how the physical GDRH circuit may look, with various parasitic impedances and interference sources:

schematic

simulate this circuit – Schematic created using CircuitLab

Here's what can corrupt the GDRH signal:

  • The inductive loop Lgdrh couples with other inductive loops that are concentric, Lgdrh_coupled.

  • The parasitic capacitance Cgc couples to one or more nearby node voltages Vi1. This is probably negligible on your board, though.

  • The gate capacitance Cgd couples the drain to gate. If the drain swings fast, there'll be lot of current flowing through that capacitance.

  • There is an impedance Rvcc+Lvcc in the supply circuit for the E-Paper display's logic. That logic drives the GDRH signal through a driver consisting of MH and ML. Those two devices are on the die of the driver chip on the display glass.

  • The Ii2 source, which can be due to various layout blunders, corrupts the GDRH_VCC supply voltage such that it collapses as soon as Q1 starts switching.

    A likely culprit for that would be ground bounce seen by the display due to high currents flowing indiscriminately through fairly high ground trace impedances on your board.

    This seems to be corroborated by the fact that extending the cable makes things worse. There must be large currents flowing through that cable where they shouldn't be flowing, due to inadequate layout.

VDD or VDDIO are used as GDRH_VCC probably.

I wouldn't be surprised if ground bounce or GDRH_VCC collapse was a large contributor to your problem. It's easy to check: measure the VDD and VDDIO supply voltages right on the F-F (female-to-female) adapter board when the extender is in use. Make sure the entire circuit is floating from mains ground (e.g. powered with a bench supply), and connect the probe directly across VDD/VDDIO and GND points on the F-F adapter.

The DESPI-C73 board has a poor layout around Q1 and Q2, and is not a great example to follow, but it probably has a ground plane and less circuitous routing of most signals, so there's much less corruption.

A good layout will do better EMC-wise than the DESPI-C73 board, which seems to have been designed with esthetics in mind (components laid out in rows) more than functionality.


The layout is probably pushing quite a bit of loop current through the three GND lines on the flex cable. That's because the impedance that connects those three lines is too high, and high currents flow though it. This can easily corrupt the logic signals.

A ground impedance would be just as bad as the impedance on the "VCC" side of GDRH_VCC:

schematic

simulate this circuit

When Rvcc1,Lvcc1 and Rvcc2,Lvcc2 are much lower than Rvcc3,Lvcc3 and Rvcc4,Lvcc4, the currents circulate on the board and there are no large voltage drops either on-board or on the cable due to those currents.

As soon as those currents are pushed out to the flex cable due to inadequate layout, the driver IC in the display will have a corrupted ground, and thus corrupted supply voltage, and won't be able to operate properly and/or drive the GDRH signal.

\$\endgroup\$
2
  • \$\begingroup\$ VCC and GND look good. There's also a 10MHz SPI interface between the raspberry pi and the display. The clock signal won't win a beauty contest but it has sharp edges (10ns) and I had no problem with the communication. The GDRC signal that goes to Q2 looks pretty much the same with or without the cable. But it also has the problem of being truncated. I think the issue with GDRH is mostly the Q1 mosfet. Also the display chip seems to be running faster on my board, as the update time is reduced from 12.5s to 10.8s, it could also explain the shorter on and off intervals of both signals. \$\endgroup\$
    – uzumaki
    Commented Jul 4 at 2:25
  • \$\begingroup\$ By the way, do you know what all this circuitry does? VGH and VGL are documented as gate voltages, but while VGH is always at a stable +20V, VGL is -20V when Q1 is inactive and goes to 0V when Q1 becomes active. It's actually the same curve as between Q1/L1/D4/C3 but shifted down by 20V. These newer Eink display all have a major flaw, where a color gradient builds up during refresh when VCOM (the top electrode) is used in the waveform as well (rather than being 0V during the refresh). None of chip settings fixed this, maybe it is caused by a bad recommendation of components. \$\endgroup\$
    – uzumaki
    Commented Jul 4 at 2:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.