[19-JUL-17] The Implantable Sensor with Lamp (A3030) contains a wireless EEG monitor, a radio-controlled microprocessor, and an optogenetic lamp power supply. The lamp itself will reside on a head fixture, such as the Head Fixture (A3024HF). The A3030's single-channel EEG monitor is similar to the Subcutaneous Transmitter (A3028P). The A3030's micro-power radio receiver is similar to the Implantable Lamp (A3024B). The microprocessor on the A3030 we implement in a XO2-1200 programmable logic chip, which volatile and non-volatile memory as well as thousands of programmable logic gates.
The A3030D, shown below, provides 915-MHz command receiver, 915-MHz data transmitter, amplifier, acknowledgment via 915-MHz auxiliary channel, and lamp power supply.
The A3030A, shown below, is an earlier version that does not include the data transmitter. It has only a command antenna and two lamp leads attached.
We define the following versions of the A3030.
|A3030B||512 SPS, 20 mV, 160 Hz||146 MHz commands||190||4.2||53|
|A3030C||512 SPS, 20 mV, 160 Hz||910 MHz commands, acknowledgements||190||4.2||53|
|A3030C-LO||512 SPS, 20 mV, 160 Hz,
no EEG leads (lamp-only)
|910 MHz commands, acknowledgements||190||4.2||53|
|A3030D||512 SPS, 20 mV, 160 Hz||910 MHz commands, acknowledgements,
|A3030D-LO||512 SPS, 20 mV, 160 Hz,
no EEG leads (lamp-only)
|910 MHz commands, acknowledgements,
|A3030E||512 SPS, 20 mV, 160 Hz||910 MHz commands, acknowledgements,
random pulses, shared antenna,
battery-recharge diodes, battery monitor,
differential amplifier, ground connectio
The A3030C/D receives commands at 910 MHz and transmits EEG samples in the 902-928 MHz band. It transmits acknowledgement messages when requested to do to by a command, so that we can confirm reception of stimulus commands. It is equipped with a lithium-ion battery and encapsulated in epoxy and silicone. The A3030C/D works well, but is plagued by lamp artifact caused by water carrying lamp voltage out of the head fixture and into the animal body, where it corrupts the EEG signal. Ceramic dual-bore collars around the lamp leads stop the water conduction, but the seal within the collar can still fail, and when it does, the EEG signal is compromised. Reception of commands by implanted A3030C/D transmitters tends to degrade with time, but acknowledgments transmitted by the devices permit us to determine when commands have not been received.
The A3030D-LO is designed to remove the concern of seal failure from an optogenetics experiment by removing the EEG pick-up leads alltogether. We combine the A3030D-LO with a separate subcutaneous transmitter to monitor EEG. The EEG and lamp power circuits are now separated and their battery power supplies are floating with respect to the animal body. Failure of the collar seal will introduce some artifact into the EEG signal, but two orders of magnitude less than if the EEG X− lead is connected to the lamp power 0 V.
The A3030E provides a differential amplifier with a ground wire so that we can ground the animal body outside the head fixture. The ground connection provides a common-mode reference voltage for the differential amplifier. By placing the ground outside the head fixture, we allow it to absorb current traveling along the tunnels made in the head fixture by the lamp leads, and so stop this current from setting up an electric field in the animal body that we will detect as lamp artifact in our EEG signal. The A3030E antenna switch allows us to share a single antenna between the command receiver and data transmitter. Two diodes in the A3030E permit us to re-charge the battery through the lamp leads rather than piercing the encapsulation. A voltage divider in the A3030E permits us to measure the battery voltage directly so as to give us an indication of the remaining capacity. The voltage divider that generates the command detection threshold is more immune to corrosion, which we suspect is the cause of the degrading command reception by implanted transmitters. An isolated pad on the top edge of the circuit board allows us to solder a stiff wire to the assembled A3030E to hold the circuit while we dip it in epoxy in a vacuum and later rotate it while the epoxy cures.
S3030X_1: Implantable Sensor with Lamp Initial Circuit.
S3030A_1: Implantable Sensor with Lamp Version A/B.
S3030C_1: Implantable Sensor with Lamp Version C.
S3030D_1: Implantable Sensor with Lamp Version D.
S3030E_1: Implantable Sensor with Lamp Version E.
Code: Logic Programs and Test Scripts.
LCMXO2-1200ZE: The programmable logic chip data sheet.
A303001A.zip: A303001A Gerber Files.
A303001A.pdf: A303001A All-Layer Circuit Board View from Advanced Circuits.
A303001B.zip: A303001B Gerber Files.
A303001B.pdf: A303001A All-Layer Circuit Board View from Advanced Circuits.
A3030B_SMT.pdf: A3030B Part Placement Drawing from Advanced Assembly.
A303001C.zip: A303001C Gerber Files for A3030E.
A303001C.gif: Panel 5 x 2 of A303001C.
ISL Controller Tool: A LWDAQ Tool that stimulates the ISL.
[26-AUG-14] The A303001A printed circuit board requires the following modifications for the A3030A assembly. The A303001A PCB was designed to the S3030X schematic. The A3030A follows the S3030A schematic, except that the EEG amplifier and converter are omitted.
[29-SEP-14] The A303001B printed circuit board is the same as the A303001A, but with the following changes as expressed in the S3030A_1 schematic.
[06-MAY-15] The A3030B on an A303001B PCB becomes an A3030C with the following modifications as expressed in the S3030C_1 schematic.
Unlike earlier versions, the A3030C has the same tuning capacitances for all circuits we assembled. The tuning at 915 MHz is not nearly so sharp as it was at 146 MHz.
[24-JUN-15] The A3030D circuit is the same as the A3030C except for Q1, which we switch to the NTR4003. The A3030B on the A303001B PCB becomes an A3030D with the following modifications as expressed in the S3030D_1 schematic.
[16-JUL-17] The A303001C printed circuit board provides the A3030E circuit directly.
[17-JUL-18] The A3030E introduces U14, the PE4239 antenna switch that allows us to connect only one antenna to the circuit. We power the switch logic with VSY from which it draws 200 nA. With U10 turned off, input XEN is low, and the crystal radio is selected. When U10 is turned on, it asserts XEN to turn on U11 for data transmission, and this same signal connects the antenna to A, the U11 output.
[23-JUL-14] The Crystal Radio detects 146-MHz radio waves without any external power supply. It consists of a two-turn, 30-mm diameter loop antenna connected to terminals B and G, and components C7-C11, L1, D1, and D2. The circuit is identical to the crystal radio we used in the Implantable Lamp (A3024B), except it uses two tuning diodes instead of one, in an effort to increase the sensitivity of the command receiver. A split-capacitor tuning network selects and amplifies 146-MHz power from the antenna and applies it to the tuning diodes. Capacitor C10 allows a demodulated voltage on L1 so the second tuning diode, D1-1-3, can contribute to VR.
As we describe in Antenna Matching, we must measure the tank resonant frequency of our tuning network, then adjust the tuning capacitance until the resonance is close to 146 MHz. We use our 146.000-MHz crystal oscillator to provide a reference frequency. We apply a voltage ramp to the TUNE input of our Command Transmitter (A3023CT). We attenuate the +22 dBm output of the A3023CT's by 6 dB and split it in two. One part goes through a 12-dB attenuator to a wire stub, around which we will place our crystal radio antenna. The other part passes through a 3-dB attenuator to the LO input of a mixer. We take our −4 dBm 146.000 MHz and pass it through a 150-MHz low-pass filter to remove the harmonics. We apply the resulting 146.000 MHz sine wave to the RF input of our mixer. The intermediate frequency (IF) we pass through a 3-dB attenuator and a 22 MHz low-pass filter, and then to the oscilloscope. We connect a probe to the VR terminal on our A3030X No1.1 and observe the tuner's response. We turn on the oscilloscope's 20-MHz bandwidth limit so that we can see the response of VR without the RF overlayed.
We load 0.5 pF for C7, 8.0 pF for C8, and 1.5 pF for C9. We obtain the following response on VR. The bottom trace is the IF output of our mixer. The point where the IF frequency is zero is the point where the sweep frequency is exactly 146 MHz. This point is visible on the oscilloscope as a fluctuating slice in the IF trace. We have aligned this slice with the center of the screen. The limits of the IF trace show ±20 MHz.
The tank resonance is at 145.5 MHz. The antenna resonance is the smaller peak down at 123 MHz. If we squeeze the antenna, the antenna resonance disappears. By enclosing the antenna in one hand, we are able to move the tank resonance down to 145.0 MHz. The 90% width of the peak is 2 MHz wide.
We disconnect the sweep, make sure the A3023CT emits 146.0 MHz, connect an whip antenna to its output, push the whip antenna through the A3030X's loop antenna, and generate 1-ms pulses of radio frequency power. We see 800-mV pulses on VR. The 99% rise time of the pulses is 40 μs and the fall time is 44 μs. For 80-mV pulses on VR, rise time is 40 μs and fall time is 22 μs.
[25-JUL-14] We set C7 = 1.0 pF, C8 = 8.0 pF and C9 we omit. Tuning is as shown below.
The peak is at 147 MHz. When we load 0.5 pF in C9, the peak drops to 144.5 MHz. We remove C9 and peak returns to 147 MHz. The width of the peak is 3 MHz. When we compare our A3024 single-diode tuner to this dual-diode tuner, we we get roughly double the peak amplitude, which is what we were hoping for. For each 1 pF we add to the sum of C8 and C9, we drop the tank resonance by 5 MHz. With 0.5-pF capacitors, we can tune our crystal radio to within 1.2 MHz of 146.0 MHz.
[11-AUG-14] We switch C10 and C11 to 100 pF to speed up the falling-edge response of the command threshold circuit. We see no increase in the RF power we observe on VR, and observe no other ill effects of the reduction in decoupling capacitance.
[30-NOV-14] For ISL Stage 6 we plan to move from 146 MHz command frequency to 915 MHz. The following graphs show the tuning circuit gain around 915 MHz for various new values of tuning capacitor and inductor. We also vary what we imagine will be the effective resistance of the antenna.The diode resistance is the video resistance of the two diodes in parallel.
[01-DEC-14] We solder a 50-mm insulated, stranded steel wire to B as our command antenna. We apply a −5 dBm 830-1100 MHz sweep to an A3015C loop antenna. We mix the sweep frequency with 910 MHz and pass the result through a 21-MHz low-pass filter to give us an intermediate frequency that crosses through 0 Hz when the sweep is at 910 MHz, and vanishes to zero outside 890-930 MHz. In the trace below we see this IF, and below it VR with the A3030C antenna 1 cm from the A3015C.
To obtain tuning shown above, we have C7 = 0.5 pF, C8+C9 = 1.8 pF, L1 = 2.7 nH. When we add to C8+C9 the capacitance of the two tuning diodes, we get 2.4 pF as an estimate of the capacitance in parallel with L1. Plot A in the calculations above is for these values and L1 = 10.5 nH. Our 2.7-nH inductor is one turn around a P0805 package. The tracks leading to and from L1 are four times longer. It appears that the effective inductance of L1 and the tracks leading to it, between it and C10, and from C10 to 0V, act like a 10.5-nH inductor, thus giving us the shape we photographed above, which matches trace A.
We apply 13 dBm of 910 MHz to an A3015C loop antenna. This antenna has its own 3-dB stabilizing antenna. We hold our A3030C at range 30 cm and rotate at random. We obtain ≥20 mV on VR, which is sufficient for command reception. With +30 dBm, assuming an inverse square law of power distribution, we expect to obtain the same reception at range 2 m.
[05-MAR-15] We apply an 840-980 MHz sweep to our new 915-MHz Command Transmitter (A3029B). We get roughly 22 dBm of the same sweep, which we connect to a Loop Antenna (A3015C), which has its own 3 dB stabilizing antenna. We try various combinations of C7, C9, and L1. The following trace is for C7 = 0.4 pF, C9 = 2.7 pF, and L1 = 0.0 nH. We load a 0 Ω resistor in place of L1. The transmit and receive antennas are 30 cm apart.
When we load 2.7 nH for L1, the peak of this response drops from 920 MHz to 850 MHz, which suggests that the parasitic inductance of our PCB traces is around 11 nH. If we add 1.0 pF to C9, the peak drops from 920 MHz to 890 MHz, which suggests the parasitic capacitance of our traces and the crystal diode is around 10 pF. After many component changes, we settle upon C7 = 0.5 pF, C9 = 2.7 pF, and L1 = 0.0 nH, with response indistinguishable from that shown above.
We place transmit and receive antennas in our small faraday enclosure (35 cm side), and in a larger enclosure (75 cm side) and obtain robust reception across the enclosure diagonal in both cases.
[19-MAR-15] We use the Diagnostic Instrument and an A3029B to produce 120-μs pulses of +29.4 dBm 915 MHz, which we feed into an A3015C loop antenna. Our A3030C tuned to 915 MHz produces ≥10 mV pulses on VR in 95% or orientation at range 100 cm.
[25-MAR-15] The data and command antennas of our A3030C are straight and parallel, separated by one or two millimeters along their 50-mm lengths. We turn on data transmission and observe VR and TCK. The latter signal is the 5-MHz clock that drives data transmission.
The 915-MHz data transmission causes 915-MHz reception by the crystal radio. The pulse on VR is well above our 10-mV command threshold. We get a pulse on RP that begins roughly 5 μs after the data transmission and endures for roughly 20 μs. A 20-μs pulse like this on RP during command reception is likely to corrupt the command. In the A3030C firmware, we disable transmission during command reception.
[22-APR-15] We have seven assembled A3030Cs with both antennas and all four leads. We have C7 = 0.5 pF and C9 = 2.7 pF. With all leads attached, the resonant frequency of the seven matching networks, including that of No1, have risen to 950±20 MHz. We add C8 = 0.5 pF to all circuits. After washing and drying, resonant frequencies are 915±20 MHz. The resonant peak itself is 120 MHz wide between its 70% points, so each matching network is well within tolerance for 915-MHz reception.
[24-JUL-14] The Command Threshold generates a logic HI when the Crystal Radio's VR is greater than the threshold. The threshold runs off the standby power supply, VSY, which we obtain from the battery voltage, VB, with regulator U1, a TPS70930. The threshold is set to roughly 10 mV by R3, R4, and C12. The comparator is U4, an MCP6541. Its output is RP (Radio Power), and drives an OR gate, U5. When RP is asserted, U5 generates WK (Wake), which turns on the 3V0 and 1V2 power regulators. The logic chip, U10, accepts RP and also generates OND for U5. Thus U5 asserts WK whenever there is RF power and whenever U10 asserts OND.
We assemble the standby power supply and the Command Threshold on No1.1. We connect OND to 0V. By pulsing 146-MHz power we observe pulses on WK. Quiescent current from VB = 3.3 V with no pulses is 1.9 μA. With 1 ms pulses at 500 Hz it is 2.0 μA. We load 25 kΩ for R4, which puts the threshold at around 8 mV.
[11-AUG-14] We transmit +30 dBm pulses with our A3029A. We have C10 and C11 at 100 pF. With the pick-up coil in a favorable orientation 30 cm form the transmit antenna, we see 3-V pulses on VR. After such pulses, it takes hundreds of microseconds for VR to return below the command threshold. We tarnsmit 122-μs pulses ever 244 μs (a 4.096 kHz clock). The RP signal goes HI within a few microseconds of the start of a pulse, but its return to LO after the end of the pulse takes longer than 122 μs when VR exceeds 1 V.
[13-AUG-14] We place a CMDSH2-3 Schottky Diode across C11 so as to limit the value of VR during powerful pulses. With +30 dBm transmit antenna at range 0 cm, VR does not exceed 100 mV. With maximum input power, the delay between VR and RP is < 1 μs on the rising edge and 45 μs on the falling edge. With input power just above threshold, the delay is 10 μs on the rising edge and 34 μs on the falling edge.
[26-AUG-14] We remove the Schottky diode across C11 and transmit commands to the A3030X. We have 30 dBm of RF power being transmitted by a half-wave antenna. At ranges closer than 10 cm, command reception fails. At Range 1 m, we get reception in all orientations. At range 3 m, in most orientations. At 10 m we get reception if we touch the loop antenna. We restore the diode. At ranges 0-100 cm reception is reliable in all orientations. At higher ranges, performance is the same as without the diode.
[09-SEP-14] We change R4 from 33 kΩ to 16 kΩ in A3030A No1.8 to see if this will increase its operating range. With +30 dBm output power into a half-wave antenna, reception is reliable at 100 cm before and after the change. Reception with A3024B-M No2.5 is similar. We leave the 16 kΩ in place of R4. We'll see if this one gives better performance when implanted. When we walk around with the lamp pins in our mouth instead of attached to a lamp, we get reception up to 15 m away.
[18-JUL-17] We used 33 kΩ for R4 and 10 MΩ for R3 in all A3030C/D circuits. The nominal threshold voltage was 10 μV. We wanted to accommodate the ±7 mV maximum input voltage offset of U4. But reception by the implanted devices was not robust. Moving the antenna to give a more powerful signal improved reception. The U4 data sheet says the typical input offset voltages is ±1.5 mV. We could use R4 = 16 kΩ with R3 = 10 MΩ and expect a threshold of 4.3-6.3 mV.
Command reception degraded for implanted transmitters as time went by. One reason this may happen is the resistance of R4 starts to drop because of corrosion between its terminals. One of the first signs of corrosion in subcutaneous transmitters is a drop in input impedance from 10 MΩ to 1 MΩ after the equivalent of one or two years implanted. If the R3 dropped to 1 MΩ, the threshold voltage would rise to 50 mV and sensitivity would be greatly reduced. In the A3030E we resolve to drop R3 to 1.0 MΩ and accept a 3-μA addition to the standby current. We set R4 to 2.0 kΩ and so put the threshold at around 6 mV. A corrosion resistance of 1 MΩ would raise the threshold to 12 mV.
[13-AUG-14] The following timing diagram shows our prototype command transmission protocol. The protocol is designed to be robust in the face of 146-MHz interference and loss of signal power at the receiving loop antenna. The protocol permits us to transmit an arbitrarily large number of bytes. The receiver must store these bytes in memory, and when the transmission is done, compare the final two bytes to a checksum of the rest of the bytes. If the checksum is invalid, the receiver will ignore the transmission, on the grounds that it could be interference.
The command transmission begins with the initializing pulse, which lasts for tI ≥5 ms. The receiver, such as the A3030X, may be inactive at the start of this pulse, so the pulse allows sufficient time for the receiver to power up and assert its OND (Device ON) dignal. This takes time tPU < 3 ms.
Once OND is asserted, the receiver monitors the state of RP (Radio Frequency Power), which may or may not correspond to the transmitter's RFON (Radio Frequency Power ON). The receiver samples RP on the rising edge of RCK, a 32.768-kHz ±20 ppm clock. When RP has been asserted continuously for tSU ≥ 2 ms, the receiver asserts IC (Initiate Command).
To begin data transmission, the transmitter turns off the RF power for a time tEX + τ. The time tEX is the time we allow the transmitter to prepare to send the next data byte. We allow tEX between each byte transmission as well. We must have tEX < tI = 5 ms or else the interval between bytes will be mistaken by the receiver as a termination period. At the end of the initializing pulse, we must have at least one bit period (122 μs) with no RF power so that the receiver can get ready for the first byte's start bit.
The bit period for serial transmission is τ = 4/32768 = 1/8192 = 122 μs, which is four periods of RCK. A serial byte begins with a start bit, which is HI, the data bits, most significant first, and a stop bit, which is LO. One byte takes 10τ = 1.22 ms. With tEX = 0 μs we attain the maximum data rate of 820 Bytes/s. If, at the end of the serial byte, the receiver does not observe a stop bit, the transmission is either interference or it is a genuine command transmission corrupted by loss of signal power. In either case, the receiver should abort command reception and go back to waiting for an initializing pulse.
When the last byte has been received, the transmitter turns off power for at least 5 ms, which indicates to the receiver that the transmission is complete. The receiver asserts TC (Terminate Command). The receiver analyzes the sequence of received bytes. If the checksum is incorrect, the receiver ignores the transmission. If it was inactive before reception, it unasserts OND. If the checksum is correct, but the data itself contains errors, the receiver can take some action, such as transmitting a channel-fifteen message on its data transmitter.
We use an A3029A with firmware version 3 to implement the command transmission protocol. We begin with a 5-ms pulse of RF power, which allows the logic chip on the A3030 plenty of time to power up and detect 2-ms of continuous RF power, which is the token for the start of a transmission. After this long pulse, there follows a low pulse less than 5 ms long, and then a command. The traces below show VR and RP during reception of byte data values "0 170 0 255". To transmit these bytes with a A2037E LWDAQ Driver, we use our command transmit Toolmaker script.
The time markers show the byte transmission rate. We allow a slight delay between the stop bit of one byte and the start bit of the next. The result is 1.5 ms per byte, or 670 bytes/s.
[14-AUG-14] With firmware P3030X07.vhd we implement command reception in the logic chip, so that we generate a pulse NCS (New Command Strobe) at the end of each transmitted data byte. We also have TC (Terminate Command), IC (Initiate Command), and RXC (Receive Command) signals working correctly.
[18-AUG-14] With firmware P3030X08.vhd we implement command decoding, so we can send commands to turn on and off the lamp, activate, or deactivate the A3030X. The traces below show VR, CSB (Command Start Bit), and RPS (Radio Power Synchronized).
We generate RPS with a register clocked on the falling edge of RCK. The delay between a rising edge on RP and a rising edge on RPS is, in the traces above, less than 10 μs, while the delay between falling edges is closer to 45 μs. As a result, the positive pulses of RPS are longer than the negative pulses.
We attach a battery to our A3030X, connect boost power to our A3029A, and a half-wave antenna. With the receiving loop antenna of the A3030X in air, and the device held between two fingers, we flash a blue LED reliably by means of commands in all orientations up to range 1 m. We obtain some response up to 3 m. With the loop antenna in hand, we obtain reliable reception at 3 m and some response at 10 m.[22-AUG-14] We trigger on the BITS (bit strobe) signal of our P3030X09.vhd firmware, and compare it to RP on our A3030X. We are interested in the position of the rising and falling edges of RP with respect to the falling edge of BITS.
When RP enters the logic chip, we synchronise it with the reference clock, RCK using the RCK falling edge, and so generate RPS. The falling edge of BITS is when the Byte Receiver takes in the value of RPS. Thus we sample RP for byte reception half an RCK period (15 μs) before the falling edge of BITS.
The rising edges of RP can occur immediately after the falling edge of RCK, in which case there will be a 30-μs delay before RPS shows a rising edge. Or RP's rising edge can occur immediately before the falling edge of RCK, in which case RPS will immediately show the transition. When the RP transition occurs exactly on the falling edge of RCK, the state of RP is uncertain. It might rise immediately, or it might not rise until the next falling edge on RCK. Thus we expect to see the rising edges of RP span 30 μs as the 32.768-kHz clock on the Command Transmitter drifts with respect to the 32.768-kHz RCK on the A3030X. This is exactly what we see, along with stuttering between the two extremes when RP is synchronous with RCK. The markers on the picture show the two extremes of the RP rising edges.
The traces also show clearly the difference between the rising and falling edge response of RP to VR. In this case, they are separated by about 30 μs. For both rising and falling edges, however, we have at least 45 μs of set-up time before we sampel RP (this point being 15 μs before the falling edge of BITS) and at least 30 μs of hold time. With this we are well-satisfied.
Our P3030X09.vhd is debugged and working, with the exception of the CRC error check. Command bytes are received, stored to RAM, read back, and executed. We use the ring oscillator to provide modulation of the lamp, so as to create varying intensity. The stimulus controller is working well, but it does not provide randomized pulses.
[25-AUG-14] The sixteen-bit cyclic redundancy check is now working in P3030X10.vhd. We pre-load the CRC to all ones so that the checksum for a solitary zero command is not itself two zeros. We prepare the ISL Controller Tool. Its script is here. Run it from the LWDAQ Tool Menu and you get the following window.
The tool composes the string of command bytes that will configure the ISL to perform the stimulus specified in the parameter boxes of the tool window. It calculates the checksum for the byte sequence, and appends it as two further bytes to the command bytes. When we press Stimulate or Stop, the tool prints the commands and checksum to the screen. If we press Print, the tool writes a script to the text window. This script we can execute in any procedure or in the Tcl console to generate the same stimulus as we obtain when we press the Stimulus button. We can use the Print button to create the stimulus script we need for a Neuroarchiver event handler, so we can generate the stimulus when we detect an event in a live EEG recording.
[25-MAR-15] We place a Loop Antenna (A3015C) in a Faraday Enclosure (FE2A). There is an absorber on the floor. We supply commands from our 915-MHz Command Transmitter (A3029B). We program an A3030C with firmware C01. We bend the 50-mm receiving antenna on the A3030C into a loop. We transmit a command to flash the lamp once, and repeat this command at around 20 Hz. We move the A3030C around in the enclosure for 60 seconds and observe a total of 2 s of loss broken up into around six different intervals. So we appear to have 97% reception of commands within the enclosure.
[24-JUL-14] The reference clock is a 32.768 kHz, ±20 ppm oscillator running continuously off VSY. It produces a 32.768 kHz square wave for command reception and message transmission. The ASH7KW oscillator draws less than 2 μA, but takes 500 ms to start up. We cannot turn it off, because the reference clock must be available and stable when the board wakes up to receive a command. The clock output enters AND gate U8, which delivers the clock to U10 only if the 3V0 power supply is turned on. If we delivered RCK directly to U10, we would consume excessive current when U10 was not powered up.
[31-JUL-14] We replace U8 with a 1-MΩ resistor from U7-1 to U10-35. Current consumption with WK unasserted is 4.0 μA. We also have U10 loaded. Now we assert WK and look at the 1-MΩ charging and discharging the input capacitance of U10-35 with a time constant of around 20 μs. We have configured this input to have no pull-up or pull-down or hold circuit, but with large hysteresis. The time constant implies an input capacitance of 20 pF. The data sheet says 6 pF. We have programmed U10 so that TP1 is RCK. We see 32.768 kHz on TP1 with no glithces, which means the hysteresis on the RCK input is working.
[08-AUG-14] The inactive current for our A3030X is 4.1 μA with a 1-MΩ resistor in place of U8. We try a 10-kΩ resistor. Inactive consumption is 4.4 μA. Where RCK enters U10, we see a 3-V square wave whose corners are rounded with a 320-ns time constant. When U10 is off, its inputs are high-impedance. The input capacitance is around 30 pF. We observe the same high-impedance at U10's RP input. We turn on the circuit with 1-ms RF pulses at 100 Hz. We have U10 powered up continuously. Active current consumption is 61 μA
[25-JUL-14] Aside from VSY, we have 1V2 for the core of U10, 3V0 for the transmit oscillator, VA for the amplifier and ADC, and VC for the analog input. We load U2, U3, and associated capacitors and resistors. With WK unasserted, these voltages are all zero after we power up. When we transmit RF power to assert WK, the four power supply voltages turn on. Capacitors C3, C4, C5, and C6 charge up. When we unassert WK, with no circuits loading the power supplies, we find the capacitors remain charged up for several minutes.
We have the Command Threshold, Reference Clock, and Power Supplies loaded on the board. We wash, dry, and bake for an hour before making our current consumption measurement. Quiescent current from VB = 3.3 V with WK unasserted is 4.1 μA. We assert WK and current consumption rises to 5.3 μA. We unassert WK and consumption drops to 3.6 μA. The power supplies remain stable for several minutes. We can measure them with a 10-MΩ probe and observe discharge of the capacitors with time constant 100 s. After one minute, current consumption begins to rise at roughly 1 μA/s, and continues to rise. When the current reaches 200 μA we observe 3V0 to be 1.5 V and 1V2 to be 0 V. We assert WK and current drops to 5.3 μA. We unassert and it drops to 3.6 μA. After one minute, current consumption begins to climb again. We have 3V0 at 2.5 V and 1V2 at 0 V. We discharge C3 with tweezers and current consumption drops to 4.1 μA. We do not understand what is happening, but we figure that even 1 μA of quiescent current on 3V0 and 1V2 will discharge the capacitors in a few seconds, so this mysterious battery drain will not occur in the completed circuit.
[30-JUL-14] We load U8 with an AND gate. We restore broken OND tracks with wires, so OND is now available on the programming extension. We can connect it to VB with a jumper to turn on the board. We have 50 kΩ for R21 and R22. After twenty-four hour bake, we have 3.5 μA battery current with WK unasserted. We wait five minutes. Current remains 3.5 μA and 3V0 remains 0 V. We assert OND. We now have RCK at the output of U8. We have U10 loaded, so current from VB is around 5 mA. We unassert OND. Battery current drops to 5 μA briefly, then climbs. We observe 3V0 is 2.0 V instead of 0.0 V and is turning on the output of U8. In this version of the circuit, we have U8-1 wired to 3V0. We have RCK on U8-4. We short 3V0 and current drops to 3.5 μA and remains there. We conclude that we should connect U8-1 to WK, not 3V0, and we are not sure why we didn't do this in the first place.
[08-AUG-14] Our inactive battery current is now 4.0 μA and active current is 61 μA. When inactive, we drive U11's RCK input through 10 kΩ, thus eliminating U8. When active, this same 10 kΩ drives the RCK input fast enough to avoid loss in the the RCK input's Schmitt Trigger. With 1 MΩ in in place of U8, this loss was 50 μA. When the A3030X unasserts OND, it takes 700 ms for its active current to drain the 1V2 decoupling capacitors to the point where U11 shuts down.
[08-OCT-14] The A303001A and A303001B circuit boards are both designed for connection to a GM382030 lithium-polymer battery. This battery's source impedance is less than 60 mΩ. When we turn on the A3030A's lamp, we draw roughly 65 mA from the battery, for which the battery's output voltage will drop by less than 5 mV. The battery's typical capacity is 190 mA, so when fully charged, it will provide 62 mA for 3 hr continuously.
[07-JUL-15] We program 12 A3030D circuit boards. We discover an error in the P3030D04 firmware, and change our calculation of SRUN so that OND no longer remains asserted after a STOP or XOFF instruction.
[25-JUL-14] The boost regulator provides 5 V for the lamp. It boosts VB, which will be 3.3-4.2 V from a lithium-polymer battery, to 5 V using U12, an LTC3525-5, and L1. The ENL signal from logic chip U10 turns on the 5 V power. Transistor Q1 is a switch for the lamp cathode, which allows us to modulate the lamp current with signal ONL so as to produce an effective dimming of optical output.
We load the U12, L1, and Q1. We connect ENL and ONL to WK. With WK assertedWe transmit continuous RF power to assert WK continuously, and observe roughly 44 mA through 50-Ω of steel wire into a white LED. Current consumption from VB = 3.3 V is 72 mA, which suggests roughly 90% conversion efficiency.
We connect a 3.0-V lithium primary cell to the circuit and move it around while pulsing 1 W of RF power for 1 ms at 100 Hz. We carry the circuit around the lab. We obtain reception in favorable orientations at 10 m and in all orientations at 1 m.
[18-AUG-14] We connect a blue LED and a 100-Ω resistor to L+/L−. We supply 3.6 V to the A3030X. We turn on the lamp. The voltage on L− is 0.2 V, which is the drop across Q1. The voltage on L+ is 5.2 V. We have 2.0 V across the resistor and 3.0 V across the LED. That's 20 mA delivered from 5.2 V, or 104 mW generated by the boost regulator. The current drawn from the power supply is 31.4 mA for 113 mW. Efficiency is 92%.
[22-SEP-14] We have A3030A No1.1. We solder a 100-Ω resistor to the lamp output. For L2 we have the LQH32CN100K53 2.5 mm × 3.2 mm inductor we have used up until now, and in our work with the A3024. We supply 3.6 V battery voltage and turn on the lamp output continuously. Battery current is 78.2 mA. Lamp voltage is 5.0 V and the drop accross Q1 is less than 50 mV. We have 130 mVpp triangular ripple on the 5.0 V at 100 kHz. The A3030A is 89% efficient at deliverying energy to the lamp output.
We load a toroidal inductor, 83103C, for L1. This new inductor is far larger, being 5.2 mm × 5.9 mm. But we wonder if a toriodal inductor will produce less stray field, and so generate less noise in our EEG amplifier. When we switch on the lamp power, we get 5.0 V, 50 mA, 110 mVpp ripple at 100 kHz. But we draw 91.4 mA from 3.6 V, so efficiency is only 76%. We wash, repeat, and get the same result. We restore the previous, miniature inductor and get 89% again.
[24-AUG-14] Transistor Q1 turns on and off the lamp in response to logic signal ONL from U10. We set U10 to drive 24 mA into the gate of Q1. We load an NDS355AN for Q1. When Q1 is on, 23 mA flows through the LED, 100-Ω resistor, and Q1. The voltage drop across Q1 is less than 10 mV. The traces below show the voltage across the resistor between the LED and the transistor drain while we are switching the gate at 1.0 MHz with a 20% duty cycle.
Switch-on and switch-off both take around 20 ns, which is consistent with a 24-mA drive current and a 200-pF gate capacitance. The graph below shows how the average A3030X battery current varies with duty cycle of modulation when the lamp is modulated continuously. We have one grap for the NDS355AN, and another for the ZVN3306F.
Looking at the NDS355AN measurements, when the duty cycle is 0%, the current consumption is 740 μA. Of this, roughly 640 μA is the 150-MHz ring oscillator and 100 μA is the divider that reduces 150 MHz to 1 MHz. At 100% duty cycle, 23 mA is flowing through the lamp, L+ = 5.2 V, and we are drawing 34 mA from VBAT = 3.7 V. The boost regulator appears to be 95% efficient. If we take the slope and intercept of the 20% to 80% data points, we find the slope is 0.34 mA/% and the intercept is 4.6 mA. This intercept contains the 740 μA of the ring oscillator and modulation divider, but also the current required to charge and discharge the gate capacitance of Q1 at 1 MHz. The intercept of the ZVN3306F graph is indistinguishable from zero. The ZVN3306F's gate capacitance is only 35 pF. The ZVN3306F is more efficient at modulating the lamp power, but its 0.3-V forward voltage drop reduces the lamp current by 15%, which we find unacceptable. We prefer to load the NDS355AN into Q1.
[26-AUG-14] We connect a white LED to our A3030X through two 100-mm stretched helical stainless steel leads. We modulate the lamp intensity with 40% duty cycle. We place our scope probes on the L+ and L− outputs of the A3030X. We are looking for inductive voltage spikes induced by the leads.
When the lamp switches on, L− experiences an initial positive spike. This spike is caused by the rising edge on ONL which is driving the gate of Q1 up to 3.0 V. As ONL charges the gate capacitance, charge is injected into the channel of Q1, causing a spike on the drain voltage. Within a few nanoseconds, however, the transistor is conducting to 0 V, and the drain voltages drops to 0 V. This spike does not represent any change in current flowing through the diode.
When the lamp switches off, we see no sign of an inductive voltage spike on L−. The helical leads present an inductance, but the 60-Ω resistance of the leads is sufficient to dampen any tendency of this inductance to cause a positive spike on L−.
[14-MAY-15] At ION, we demonstrate ISL Stage 6 and find that, with the ISL in water, flashing a lamp that is out of water, we get the same step disturbance of the EEG signal when we turn on lamp modulation. The EEG signal steps up by roughly 300 μV when the lamp is on, for all modulation other than 0% and 100%. As we show above, lamp modulation with the NDS355AN for Q1 draws 4.6 mA. The 3-V regulator that provides VA is the TPS970930. The same regulator supplies the 3-V power for ONL, the lamp modulation signal. When lamp modulation is anything other than 0% and 100%, the modulation logic draws 4.6 mA. According to its data sheet, the regulator output drops by 100 μV/mA, so we expect a drop of 460 μV in VA during modulation. But the average value of X is VC = 1.2 V, which will appear to jump up by 1.2 / 3.0 × 460 μV = 180 μV.
[17-JUN-15] We turn on sample transmission and initiate 10-ms lamp pulses at 10 Hz in an un-encapsulated A3030C. We have no lamp attached. With 20% to 80% modulation we observe 3000 counts of modulation-induced noise. We replace Q1 with NTR4003N, a mosfet with a 20-pF gate capacitance, which is ten times smaller than that of the NDS355AN. The modulation noise decreases to 150 counts. We try the FDV301N, a mosfet with 10-pF gate capacitance. Modulation noise is now 2000 counts. We return to the NTR4003N and get 100 counts, back to the FDV301N and get 1500 counts. We do not understand why the FDV301N produces noise out of proportion to its gate capacitance. The NTR4003N, however, looks like a fine choice for Q1. Its channel resistance is only 1.5 Ω, which is much smaller than our 60-Ω lamp lead resistance.
[24-JUN-15] We obtain this trace or random pulse noise from the A3030D with Q1=NTR4003N and 80% modulation, 10-ms pulses at 10 Hz average frequency.
[09-JUL-15] We connect an A3030D to an EZ500C470 LED via its two 100-mm stretched leads. We modulate continuous lamp power with the NTR4003N transistor. We measure the total power emitted by the LED with a photodiode.
The lamp current at 100% duty cycle is 35 mA.
[09-AUG-14] The programmable logic chip on the A3030X is an LCMXO2-1200ZE in a 14 mm × 14 mm TQFP-100 package. The same chip also comes in a 2.5 mm × 2.5 mm WLCSP-25 package, but we thought it best to start working with this new device in a package we can load onto the board and remove easily by hand.
[30-JUL-14] We have U10 loaded. With programming cable we can read out the device type and various status registers, but programming fails. We contact Lattice Semiconductor and they advise us to put a pull-down on TCK and pull-ups on TMS, TDI, and TDO. Same failure. Wrapped programming neck with aluminum tape. Same failure. Replaced U10. Same failure. Run board diagnostic, no problems detected. We take the A3030X to our SCT calibration computer and try erasing its flash memory with a native Windows7 machine and programming cable. It works. We see RCK on TP1, which means we have at least programmed some functionality into the device.
[31-JUL-14] After baking over-night, our A3030X No1.1 draws 4.0 μA when inactive. We are delivering RCK through a 1-MΩ resistor. We apply RF power and TP2 goes HI, indicating RP. We see OND go HI also. We see RCK on TP1. The time constant of the charge and discharge at the RCK input to U10 is around 20 μs. We expected 6 μs for 6-pF input capacitance. We remove RF power and OND remains high for one second, which is what our P3030X01.vhd code is supposed to do. With a 1-ms pulse of RF, the board stays on for one second, then OND is unasserted, WK is unasserted, and the 3V0 and 1V2 regulators turn off, and U10 starts to drain the 3V0 and 1V2 decoupling capacitors. Battery current drops to 5.6 μA.
When powered up, U10 consumes 5.6 mA. According to the Lattice Diamond power calculator, it should be consuming 2.1 mA. We instantiate the internal oscillator and enable and disable it with firmware P3030X01.vhd. With the internal oscillator's STDBY input set to '0', we see 2.1 MHz on TP2. When set to '1' we see 0.0 MHz and the battery current drops to 450 μA.
[07-AUG-14] With code P3030X02.vhd we have reduced battery current to 310 μA for VB = 3.3 V and OND asserted continuously with the help of the jumper between P3-3 and P3-4. With this jumper removed, the circuit starts up when incoming RF power asserts RP. The 1V2 and 3V0 power supplies turn on and U10 starts up. Once it has configured itself, it asserts OND for 512 cycles of RCK. Another counter counts 32 cycles of RCK and during this time, enables the internal 2.08 MHz oscillator, which appears on TP1. Just before the oscillator turns off, we have a pulse on TP2. The figure below shows VR, RP, and OND in response to a 1-ms pulse of RF, with sufficient time since the previous pulse that U11 has powered down..
The WK signal is asserted as soon as RP goes HI. After 110 μs, U10 powers up. While it configures itself, the RP input pin on U10 pulls RP down from 3.0 V to 0.38 V. Given that R21 = 50 kΩ, this observation suggests there is a pull-down resistor of 7.2 kΩ from RP to 0V during configuration. We re-program U10 with ONL asserted and a permanent pull-down resistor on the ONL output. Battery current increases by 100 μA, which suggests a pull-down resistanc of 30 kΩ.
After 620 μs, U10 is configured. It asserts OND and turns off the pull-down resistors on all its inputs and outputs. The RP signal returns to 3.0 V until the end of the RF pulse. OND continues after the pulse, but goes LO after around 16 ms. The 1V2 supply relaxes to 0.8 V in 20 ms, steps down to 0.6 V in 5 ms, and relaxes to 0.4 V in the next 50 ms. The 3V0 supply relaxes only to 2.8 V in the same period. During the power supply relaxation, there are no spikes on OND. If we allow 10 s between pulses on RP, the power supplies relax almost to 0 V. Battery current returns to around 5 μA. We apply 1-ms pulses of RF at 100 Hz. Our P3030X02.vhd asserts OND continuously. Battery current is 250 μA.
We remove the oscillator instantiation from the code. We leave only the power controller, which we move into standy mode by asserting CLRFLAG briefly and then USERSTDBY permanently. Our new code is P3030X03.vhd. We apply 1-ms pulses of RF at 100 Hz. The power controller's STDBY output goes HI after four RCK periods. Quiescent current is 110 μA VB = 3.3-4.2 V. We stop the pulses and battery current is 4.0 μA for the same range.
[21-AUG-14] The LCMXO2 is a CPLD (complex programmable logic device) constructed out of slices, where each slice contains two four-bit look-up tables (LUTs) and two outputs. Our firmware P3030X09.vhd implements a 64-byte command memory, a sixteen-bit cyclic redundancy check, a command processor, a stimulus generator, and a data clock running off a ring oscillator. The compiled logic uses 197 slices out of 640 available in the LCMXO2-1200. We remove three sixteen-bit registers and three sixteen-bit counters. The logic now uses 95 slices. It takes around 102 slices to implement 96 registered bits with accompanying combinatorial logic. The LC4256V, meanwhile, is a CPLD (complex programmable logic device) constructed out of macrocells, where each macrocell provides combinatorial logic and a single output. We use the LC4256V on the A3029A. When we remove 144 registered bits from the A3029A logic, the compiled code occupies 165 fewer macrocells. It looks like one slice in LCMX02 devices provides as much logic as one macrocell in LC4000 devices. But the FPGA provides in addition 8 KBytes of RAM and 8 KBytes of user-programmable ROM.
[22-AUG-14] Firmware P3030X09.vhd is now debugged and running, receiving commands, storing them in memory, reading them out, executing them, and generating lamp stimuli. We added modulation of the lamp power during each pulse. Compiled size of the code is 200 slices out of 640 available. We freeze this version now, and archive the jedec file here.
We expand the command memory from 64 bytes to 512 bytes, in anticipation of uploading EEG analysis algorithms to the central processor, which might be hundreds of bytes long. Compiled size for 9 address bits instead of 6 is 215 slices.
[15-JUN-15] Firmware P3030D01.vhd is now debugged and running. It provides random pulses with an average frequency equal to the interval length. In each interval, there are thirty-two instants at which a pulse can occur, each with an independent probability of 1/32. With a 2-s interval, we count 100 pulses in 207 s, for an average of 2.1 pluses/s. With a 100-ms interval and 10-ms pulses, we are able to count double-pulses, and we obtain an average of 9.3 pulses/s, with distribution shown below.
We may be under-counting pulses in the above experiment, because pulses that overlap by 50% we count as one pulse. The average pulse rate appears to be within 10% of the expected rate. We appear to have a decent approximation of a Poisson distribution for pulse occurance. The spectrum of the pulses, as viewed in the Neuroarchiver, is shown here for a 32-s interval.
[07-AUG-14] One of the ISL technical challenges is generating a stable 5-MHz clock for an investment of less than 100 μA in quiescent current. In our Conceptual Design, we figured we could do this with the help of a Schmitt Trigger, a resistor, and a capacitor. The A3030 circuit provides two RC networks for use with the Schmitt Trigger inputs of U10.
We load R19 and R20 with 50 kΩ and C21 and C22 with 10 nF. The CKIN1 input to U10 is at R19/C21, while CKOUT1 charges C21 through R19. These are both 1.2-V logic, and it turns out that U10 does not provide hysteresis on 1.2-V signals. The CKIN2 input, on the other hand, is at R20/C22, while CKOUT2 charges C22 through R20. These are both 3.3-V logic, so we can program small or large hysteresis. We start with large. We set the output to the negation of the input for each clock.
We program the A3030X. Current consumption is now 6.1 mA when we assert OND with a jumper. The CK1 is running at some unstable frequency of order 20 MHz. We disable CK1. We have all kinds of problems re-programming the chip. We even replace U10. We remove CK1 from the firmware and we remove R19 and C21 from the board.
We are left with only CK2, and firmware P3030X04.vhd. We see the following traces on CKIN2 and on TP2 when we set it equal to CKIN2.
We see the charging and discharging of C22 by R20. The average value of CKIN2 is 1.3 V. The hysteresis is 0.4 V. The clock frequency is 3.5 kHz, which is consistent with the 500-μs time constant of C22 and R20. Current consumption is 370 μA. When we remove R20, current consumption drops to 110 μA. The clock consumes 260 μA. If the current consumption were due only to R20 charging C22, we would expect only 30 μA.
We consult Understanding Schmitt Triggers. We reproduce Figure 1 below. The supply current of the SN74AUP1G14 micropower Schmitt Trigger inverter increases to 1 mA or 2 mA when the input is near the transition thresholds. We assume something similar happens at the inputs of U10 in our 3.5-kHz oscillator.
We try 100 kΩ/1 nF for R20/C22, but CK2 does not oscillate. We try 1 kΩ/1 nF and get 40 MHz and 2 mA total current. We remove both components and we are back to no oscillation and 110 μA total current. We try some other experiments, none of which are encouraging. We decide to abandon our plan to build a micropower RC oscillator. We remove CK2 from our firmware, leaving us with P3030X05.vhd as a starting point for future work.
[08-AUG-14] We build a ring oscillator using the BUFBA primitive, three gates in the ring, and divide by 64 to produce output on TP2. Our code is P3030X06.vhd. The ring oscillator powers up only when RP is asserted. We emit 5-ms pulses of RF every 20 ms, so the oscillator is running 25% of the time. The frequency of TP2 is a stable 1.2-V square wave of 2.37 MHz. The ring must be running at 152 MHz. Current consumption is 220 μA. Subtract the active quiescent current of 61 μA and multiply by four to get the ring oscillator current of 640 μA. This is only 4 μA/MHz.
[02-OCT-14] We add transmission scatter to the A3030B, but the ring oscillator is erratic. With fck_divisor = 17 the period of TCK is 170 ns, for 18 it is 240 ns. When we change the routing priorities of the ring oscillator gates, the ring oscillator won't turn off once it has turned on. The logic consumes 10 mA and and no data transmission takes place.
[03-OCT-14] The LCMXO2-1200ZE data sheet informs us that the delay through one LUT can be as high as 11 ns, and the maximum guaranteed clock frequency is 100 MHz. Given that our ring oscillator is running at 152 MHz, we are not surprized that the counter, which divides its frequency to 5 MHz, cannot keep up. We add two more gates to the ring oscillator and re-compile. We set fck_divisor to 10 and get TCK period 204.0 ns. The ring is running at 98 MHz. The figure below shows the ring oscillator gate connections within a cluster of four slices, where each slice contains two look-up tables. To obtain this compact arrangement of the ring oscillator, we set the routing priority of R1-R5 to 100.
We obtain the following graph A of TCK period versus fck_divisor. Later we add further graphs to the same plot.
We try a larger ring oscillator, with seven gates, and we simplify the divider circuit, so that the divider is only four bits instead of five bits.
The seven-gate ring runs at 75 MHz. We get linear increase in TCK period with fck_divisor, as graph B. But our TCK period resolution does not allow us to place the period within the range 195-218 ns required for reliable reception. We return to a five-gate ring, this time with the four-bit divider. The ring runs at 98 MHz again, and we get graph C. Our TCK period resolution is adequate, but we have an irregular period for fck_divisor = 9. The counter is failing to run at 98 MHz. We assign routing priority 75 to the four bits of the divider and re-compile. We obtain graph D, in which we see linear increase in period with divisor. Resolution is 21 ns, which is sufficient to guarantee that we can place the TCK period in the required range. We let the compiler know that the ring runs at 100 MHz, TCK at 5 MHz, and RCK at 32 kHz and all timing violation warnings disappear. Furthermore, we now find that our quiescent current while transmitting at 512 SPS is 116 μA, which is 20 μA less than with our three-gate ring. Our firmware is now P3030B03.vhd and our parameter file is P3030B03.lpf.
[24-OCT-14] We turn on the ring oscillator continuously by asserting OND in firmware P3030B03.vhd (we later correct the firmware so OND does not turn on the ring oscillator). Battery current is 1.25 mA, of which 130 μA is due to the logic chip and R22. We see 5 MHz on TP1. The ring oscillator consumes 1.1 mA, or 11 μA/MHz including the FCK and TCK dividers.
[02-JUL-15] In the P3030D02.vhd firmware, the ring oscillator is powerd up only during lamp pulses. We measure the current consumption of A3030D No7 in various states: off 7.0 μA, stimulus outside a lamp pulse 59 μA, XON without stimulus 100 μA, XON and stimulus outside a lamp pulse 100 μA, lamp on (5V through 51 Ω and EZ500C470 is 45 mA) 74 mA.
[03-JUL-15] In the P3030D03.vhd firmware, we add a flag to disable transmission scatter, and a diagnostic transmit sample counter. With the use of the counter we confirm on the oscilloscope that No7 is transmitting 512 SPS. We eventually trace our 98% reception to problems with the mapping of the logic design into the chip. We must give all fast clock nets high routing priority. But each time we re-compile the code, there is a chance that the names of these secondary nets will be re-assigned. We must not allow the compiler to eliminate FCK or TCK from the design. When it eliminates TCK, it uses FCK and some clock enable lines to drive state machines, and this does not work. We force the ring oscillator and the fast clock divider into neighboring blocks in the chip. We now obtain 512 SPS from No7 and the ADC bits are reliable. We check frequency response to a sweep. With XON we get 100% reception of acknowledgments. But with XOFF we get 0% reception. We look at TXI and TXAD and U11-4. Whenever we issue a request for acknowledgment, we the correct and expected pulse on these signals. And yet we do not receive an acknowledgment.
[04-JUL-15] It turns out that the MAX2624 oscillator needs time to stabilize before it transmits an acknowledgment. If it has been used within a few milliseconds to transmit another acknowledgment, or a data message, it's frequency will be correct during transmission. But if tens of milliseconds go by, it will need some tens of microseconds to stabilize. In P3030D04.vhd, we add a 30-μs warm-up before transission and reception of occasional acknowledgments goes up to 90%. With 60-μs warm-up reception of one acknowledgment per second over three minutes is 100.0%. We check frequency response, data reception, command reception, and switching noise and all seems well. We create a clock divider entity and instruct the compiler to place all its nets in one contiguous block of eight slices. This means we no longer have to select the clock divider nets every time we modify the code.
[06-JUL-15] In P3030D04.vhd, we reduce the fast clock divider width from 5 bits to 4 bits. With the ring oscillator and fast clock divider locked in place, and high routing priority given to both functions, the maximum frequency of the clock divider has risen from around 110 MHz to 150 MHz, well above the likely frequency of our ring oscillator. We obtain the following graph of TCK period versus fck_divisor.
For all values of divisor, the clock divider should be able to run at 150 MHz. The non-linearity of the above plot may be due to re-routing of the ring oscillator.
[09-JUL-15] We are still having trouble with the stability of the ring oscillator frequency as we re-compile with new values of fck_divisor. We add R5 to the ring and the router now places the five gates next to one another, so that the frequency is stable, as in P3030D05.vhd.
The A3030A/B/C/D provided a single-ended amplifier that would act as a differential amplifier for EEG so long as the the lamp leads remained isolated from the animal body. With the lamp leads isolated, the X− lead anchors the ISL circuit to the animal body. The animal body charges and discharges the capacitance of the circuit with respect to the animal body, the impedance of which is negligible at EEG frequencies. But when the lamp leads connect to the body through an imperfect seal in the head fixture, this anchoring is compromised and lamp artifact appears in the EEG. The A3030E provides a differential amplifier and a 1.2-V terminal to act as a low-impedance anchor for the animal body, to be placed near the poing where the lamp leads exit the head fixture.
[26-SEP-14] We load the EEG amplifier and the RF oscillator on A3030A No1.1, making A3030B No1.1. We have firmware P3030B01.vhd. We have amplification of mains hum and transmission via 915-MHz data antenna. We can simultaneously turn on the lamp. We can turn on and off data transmission by command reception through the 146-MHz antenna. In order to stabilize the ring oscillator frequency as the oscillator is moved about the chip on successive compilations of the VHDL source code, we gave the three nets of the oscillator high routing priority, and as a result they are always place in adjacent LUTs. We still have a problem reading out the ADC: we appear to be getting bit 15 in place of bits 14 and 15.
[28-SEP-14] We fix a bug in the firmware and produce P3030B02.vhd. Our digitized X now looks correct. Its average value is 26780, which is consistent with our 1.2 V VCOM and our 3.0 V power supply to the ADC (1.2 / 3.0 × 65536 = 26214). We apply a 30-mVpp sinusoid with 20-MΩ source impedance to the X input and obtain the following plot of amplitude versus frequency.
Ignoring C16, the input impedance at X is 12 MΩ, so we expect the amplitude of the signal at X to be 11 mVpp. The gain of the amplifier is nominally ×100 and the dynamic range is 3.0 V, so our nominal amplitude is 8500 counts rms or 24000 counts p-p. The frequency response for No1.1 lies within 1 dB of nominal.
Current consumption while transmitting X at 512 SPS is 137 μA. Of this, we know that 65 μA is not due to data transmission. Thus data transmission consumes 72 μA in this version of the firmware. We know that our ADC is active longer than it has to be, and the ring oscillator also. Both are active for an entire 30-μs period of RCK, when they are needed only for the 7 μs of actual data transmission.
[03-OCT-14] We implement transmission scatter in firmware P3030B03.vhd and slow down our ring oscillator from 150 MHz to 100 MHz. With fck_divisor = 10 we obtain TCK period 200 ns. Gain versus frequency remains within 1 dB of nominal. But battery current has dropped to 116 μA. Thus our data transmission consumes 51 μA in addition to the 65 μA quiescent current of the logic chip.
[02-JUL-15] In firmware P3030D02.vhd we have prompt acknowledgment, where the acknowledgment message is transmitted immediately the acknowledgment instruction is executed by the Command Processor. We instruct the A3030D to ransmit 10 acknowledgments per second using our transmit loop script. We have the A3030D and the command and data antennas in a faraday enclosure. Over one minute we receive 98.7% of acknowledgments transmitted. We stop asking for acknowledgments and turn on the data transmitter. Over one minute, we receive an average of 99.6% of messages transmitted. We program the A3030D to transmit acknowledgments and data at 512 SPS. Over one minute, we see no change in the value of the acknowledgment messages, so we assume there is no corruption of the auxilliary data. We receive 98.5% of data messages and 98.0% of acknowledgments. Our transmit clock period is 218 ns with fck_divisor = 12. If we drop fck_divisor to 11, we get 190 ns. These values are on the extremes of our acceptable range for SCT messages.
[09-JUL-15] With firmware P3030D05.vhd, we obtain the following traces of TXADD (Transmit Acknowledgment Double Delayed), which marks the start of the 10-μs prompt acknowledgment transmission, and ILP (Initiate Lamp Pulse), which marks the start of the first lamp pulse of a stimulus cycle.
For the above trace, we have the interval length equal to 10 ms. The delay is 750 μs. When we increase the interval length to 100 ms, the delay is 6.3 ms. The bulk of the delay is the interval length multiplied by 2/33. But there will also be some multiple of 30 μs added, depending upon how the acknowledgment instruction is placed with respect to the start stimulus command. In the ISL Controller V4 with A3030Ds of ISL Stage 7 running P3030D05 firmware, the extra delay is five 30-μs clock cycles.
[10-JUL-15] While programming twelve A3030D for ISL7, we find that the ADC conversion fails when we get to D7.8, giving us X = 32768 counts with no input applied, and missing bits for a triangle wave. We put a probe on the CONV input and the conversion starts working. In P3030D05.vhd, CONV is combinatorial and can have a glitch on it 15 μs after it goes HI to initiate conversion. Depending upon how the design is mapped into the logic chip, this glitch may confuse the ADC or not. In P3030D06.vhd we fix the problem by making CONV synchronous, at the cost of a theoretical increase in current consumption of several microamps during data transmission. But we are left with some A3030Ds programmed with D05 and some with D06. We heat each to 60°C and cool to 0°C and they all work fine.
[19-JUL-17] The A3030E provides a battery voltage monitor by means of R26, R27, and Q2. When the device is in standby, the signal BT (battery test) from U1-43 is unasserted and Q2 is off. When active, the battery test command causes U10 to drive BT to 3.0 V, turning on Q2 and so connecting VB through R26 to R27. The voltage on R27 will be 3.3% of VB when R26 = 33 kΩ and R27 = 1.0 kΩ. We connect this voltage, VT (voltage test) to the CH1 input of U9, where we can digitize it with 46-μV precision, giving us 1.4-mV precision in measuring the battery voltage. Because the voltage divider is disabled except during measurement, the 100-μA current drawn by R26 will not add to our standby or operating current. We make R26 = 33 kΩ so that corruption of our battery measurement by corrosion between the terminals of R26 will be minimized.
The A3030E provides diodes D3 and D4, which permit us to re-charge the battery through L+ and L−. We apply a positive voltage to the L− input and a negative voltage to L+ and recharge through the resistance of the lamp leads from the lamp pins.
[31-MAR-17] We place A3030D No12 in a beaker of water with the lamp leads outside the water but the EEG leads immersed. We turn on the data transmission and record for sixty seconds. The NDF archive of this recording is M1490986420. For the first twenty seconds we measure the noise in the amplifier.
From 20-30 s we send repeated "transmit on" commands using our command transmitter. The command transmitter does not have its boost power connected, so it is transmitting around 1/5 W of 915 MHz command power. We see short gaps in the EEG recording, when the A3030D turns off its data transmission so as to avoid interfering with the incoming command. Other than that, we see no command power artifact. From 30-60 s we emit 10-ms full-power lamp pulses at 10 Hz. We see 160-μV negative-going pulses on the EEG signal.
[25-MAR-15] We place an un-encapsulated A3030C with firmware C01 on a data receiving antenna in a faraday enclosure. We flash the lamp at 10 Hz, 10-ms pulses, 100% brightness. But we do not connect the lamp. Nor do we have any EEG leads connected. The EEG input impedance is 10 MΩ. We have only a 10-mm two-pin connector on the lamp power output and our two 50-mm 915-MHz antennas. Input noise on X is 13 μV rms. We connect an LED on 50-Ω leads, so we expect 40 mA of lamp current. We see the following induced noise in the EEG input.
These negative peaks are 10 ms long and 200 μV high. In between the peaks, we have around 15 μV rms noise between the peaks. We curl the lamp power leads under the EEG amplifier and obtain the following traces.
We replace our LED, power leads, and connector with a single 10-Ω resistor on the circuit board. We will now get 50-mA current pulses, and all noise we observe will be that which is exchanged within the circuit board.
We examine the circuit voltages with an oscilloscope. Outside the 10-ms pulses, VBAT is 4.0 V. As soon as the pulse begins, VBAT drops to 3.6 V. We are supplying power through the programming extension. On the circuit board, 0 V jumps up by 20 mV compared to 0 V on the programming extension. We believe this is due to the resistance of th 5-mil trace that leads from the programming extension. We solder a battery directly to the circuit board. This battery's voltage drops from 3.9 V to 3.7 V when we turn on the lamp and we no longer have any jump in 0V. The noise induced by the current pulses remains as shown above.
We examine VA, which powers the EEG amplifier. We see 10 mVpp of a 512-Hz triangle wave, which vanishes when we turn off data transmission. We solder the X inputs together. The pulses remain 3 mV high. We replace C8 with 33 kΩ. The pulses drop to 400 μV.
[27-MAR-15] We load 10 kΩ for R5 and R6, 100 kΩ for C15. Our input impedance is now 120 kΩ. We generate 10-ms pulses at 10 Hz into our 10-Ω load. We get the following EEG interference.
We load toroidal inductor 83103C for L2, thinking it will generate less stray magnetic field. We obtain the following interference.
The toroidal inductor reduces the amplitude of the interference spikes by a factor of 2.5, but as we found earlier, the efficiency of the boost converter drops from 89% to 76% with this inductor. That's why we removed the toroidal inductor footprint from the A3030C circuit boards. But we can still load it on the board with the help of a wire.
[10-APR-15] We have A3030C No6.1 programmed with P3030C01.abl firmware, which turns off the boost converter for each pulse, rather than leaving ENL asserted throughout a stimulus. We have restored the non-toroidal inductor. We have two antennas loaded. We have R5 = R6 = 10 kΩ, C16 = 10 μF, R7 = 100 kΩ. Thus we have AC-coupling on the input with 1-s time constant as before. Gain versus frequency with 50-Ω source is correct. We have joined-pair 100-mm lamp leads and 150-mm electrode leads soldered in place. We flash a white LED for 50 ms every 200 ms and see the noise below.
[07-MAY-15] Our ISL6 A3030C devices have 120 kΩ input impedance with a 10-μF capacitor for a high-pass filter. The lamp leads are stuck together with silicone, as are the electrode leads. The command antenna is shorter. We turn off the boost regulator between pulses. We place C6.1 in water with the lamp lead ends above the water surface and no lamp attached, so there is no lamp current flowing.
We attach a white LED outside the water so lamp current pulses are now flowing down the lamp leads.
When we immerse the lamp leads in water, we get full-scale transitions on the EEG input. We keep the lamp contacts outside the water, but run the lamp and EEG leads as close as we can underwater. We get the following noise.
We increase the pulse length so we can see noise between the pulse edges.
We cover the white LED to make sure none of its light can affect the EEG input by some photovoltaic effect. The noise remains as shown above. We conclude that electrical isolation between the lamp and EEG contacts is essential for reducing the lamp noise.
[19-MAY-15] We place C6.4 in a faraday enclosure with a data and command antenna. We enable data transmission and watch the X signal in the Recorder Instruments. We transmit stimulate commands to channel 8, which C6.4 examines and ignores. When we transmit the command, we see a step up in X of 1.7 mV followed by an exponential decay with time constant 0.3 s.
We disconnect boost power from the A3029B so that output power drops to around 20 dBm and the step size decreases to 270 μV. We instruct C6.4 to generate 50-ms pulses of 100% brightness at 10 Hz, but we have no lamp connected. We see no sign of the lamp switching in X. We switch to 20% brightness and get the modulation noise shown below.
The above noise is exactly the same for 20%, 40%, 60%, and 80% brightness.
[24-JUN-15] We obtain the trace below of random pulse modulation noise from the A3030D with Q1=NTR4003N and 80% modulation, 10-ms pulses at 10 Hz average frequency.
Each graduation in the image is 30 counts, so the modulation noise is of order 100 counts, which corresponds to 46 μVpp.
[26-JUN-15] We turn on data transmission in No7.7, and A3030D with both antennas, no lamp leads, and 100-mm X leads. We send a Stimulus Stop command with 30 dBm of command frequency power 20 cm from the A3030D and observe the following step in X.
At range 40 cm the step is only 100 μV. When we send a Stimulus Start command, the step is the same size in both cases, except it is followed by pulses of lamp noise. Out lamp is a 50-Ω resistor in series with an EZ500C460 loaded on the circuit board and covered with epoxy. The lamp current is around 44 mA. We now see the noise resulting from lamp current. Regardless of how we arrange the two X leads, these pulses remain 200 μVpp. We examine the battery voltage during the pulses and see an initial 60-mV drop for 10 μs followed by 200 kHz noise from the boost regulator, with an average drop of 30 mV below the normal battery voltage.
[20-JUL-17] As revealed in the account below, the silicone insulation of the lamp leads does not adhere to the dental cement of the head fixture, so that the leads slide in the tunnels that carry them through the dental cement to the fiber-coubled LED. The following diagram shows how the conductivity of the tunnel creates lamp artifact of hundreds of milivolts when the ISL records EEG while the lamp is flashing.
Current flows through a film of body fluid from L+ to L−. Our calculations suggest that the resistance of the body fluid between these two terminals is around 1 kΩ. Current flows from within the head fixture, through the lamp lead tunnels, to X−, which is connected to 1.2 V within the implant. The voltage at the entrance to the tunnel is VH ≈ 2.5 V. The resistance of the tunnel, RT, can be as low as 100 kΩ. The resistance, RB, from the tunnel to X− through the animal body can be as high as 10 kΩ. The voltage at the exit from the tunnel is:
Inserting 100 kΩ for RT and 10 kΩ for RB we get VE = 1.32 V, which is 120 mV above X−. The potential VA at X+ will be somewhere between 1.20 V and 1.32 V. Our biopotential measurement is X = VA − 1.2 V = 0-120 mV. With the field lines as they are drawn, and assuming uniform resistivity in the animal body, X will be something like 100 mV. When we turn the lamp off, the L+ and L− terminals are disconnected from the implant circuit. The current flowing from L+ to X− stops. The electric field vanishes. In the absence of any biometric signal, X = 0 mV. Thus X jumps up by 100 mV when we turn on the lamp. This is the lamp artifact. The artifact decreases with tunnel resistance and increases with body resistance.
In the section below, we describe our observation and identification of the tunnel-conduction lamp artifact in the ISL's EEG input. In Lead Sealing we describe our efforts to eliminate this artifact by increasing the tunnel resistance to >10 MΩ using water-tight collars around the lamp leads where they pass through the dental cement. Our dual-bore ceramic collar was effective, but we remain uncertain of its reliability in a long-term implant.
Another way to eliminate lamp artifact is to abandon the ISL EEG input and implant a separate A3028E SCT to monitor EEG. In such an arrangement, the ISL makes electrical contact with the animal only in the head fixture. No lamp current flows through the animal body because there is no way for such current to re-enter the ISL circuit other than through L−, which is within the head fixture.
The SCT's X− input is connected to the SCT 1.8 V power supply. The body charges the SCT's body capacitance so as to keep the SCT's 1.8 V potential at the same potential as the body, VB in the diagram. The body capacitance of the A3028E is of order 100 pF. At 160 Hz, the upper end of the A3028E bandwidth, 100 pF has impedance 10 MΩ. If the X− electrode is a wire held by a skull screw, its impedance is around 1 kΩ, so it has no trouble charging the transmitter body capacitance. We demonstrate how well this arrangement eliminates lamp artifact in Separate EEG Monitor.
In the following arrangement, we add a grounding lead from the ISL to a grounding spring that winds around the lamp leads where they pass through the dental cement of the head fixture. We make no attempt to seal the tunnel through the cement with a collar, but instead absorb the lamp artifact current with the grounding spring.
Current from L+ traveling along the water on the surface of the silicone leads passes into the grounding spring, which is at 1.2 V with respect to the ISL circuit. Current flows from the grounding spring to L− also. But no current flows into or out of the animal body to the lamp leads or the grounding spring, other than the current needed to charge the ISL body capacitance of order 100 pF. In the absence of biopotentials, the animal body potential is the same as the 1.2V potential in the ISL circuit. We have VB = 1.2V = GND = ground potential.
In theory, we could now connect X− to 1.2V inside the ISL as well, and so use a single-ended amplifier to obtain the difference in potential between X+ and X−. But it is possible that the connection between the grounding spring and the tunnel fluid will be imperfect, so that some current will leak out and travel in a small circuit near the edge of the head fixture. If we connected X− directly to 1.2V, some of this leaking current will flow through the animal body to X−, but not to X+, which is the high-impedance input of our amplifier. The result would be lamp artifact on X+, although a much smaller artifact than without the grounding spring.
Because the ISL potential is already anchored to the animal body potential by the grounding spring, we do not need to anchor the ISL to the body with a low-impedance ground at X−. We can instead connect X− and X+ to the inputs of a differential amplifier of sufficiently high input resistance that neither input will attract lamp current. An input impedance of 200 kΩ as shown here should be sufficient, but not so large as to invite the electronic noise we describe above.
By the above arrangement, we hope to eliminate lamp artifact without a collar seal. The ground spring should be a snug fit around the two lamp leads, but we can slide it up the leads during implantation, so one end is close to the L+ and L− pins and the other end protrudes from the head fixture cement. Upon explantation, we dissolve the dental cement in acetone and recover the entire apparatus, ready to re-charge the battery through the lamp leads. We describe our work on this arrangement in Tunnel Grounding
[22-SEP-15] We have A3030D number D7.2 implanted at ION since 17-AUG-15. The day after implantation we observe full-scale artifacts on the EEG when transmitting commands, and the following 15-mVpp pulses when flashing the lamp.
Last week we observed only the 200-μVpp artifact we expect from our tests at OSI. We consider the possibility that dental cement (acrylic and powder) mixed with water is conducting until the water evaporates. We mix up dental cement with and without adding a few drops of water. When we add water, we get drops of water coalescing outside the cement. (Methyl methacrylate is hydrophobic.) Resistance between two probes placed 0.5 mm apart is greater than 10 MΩ in all cases. We cement two wires 5 mm apart and plug the electrodes of a 10-MΩ amplifier into the cement near each wire, but not in contact with the wire.
We bake our apparatus at 60°C to make sure it is dry. We apply a 5-V, 10-Hz square wave to the two wires and observe the following on the A3028E output.
We cover both amplifier electrodes with a few drops of water. The impedance between the elecrodes is now 600 kΩ measured at 0 Hz. The coupled signal drops to less than 100 μVpp from 10 mVpp. We dry off, apply a 5-Vpp sinusoid, and obtain the following graph of coupled amplitude versus frequency. The slope of the graph suggests the coupling through the cement is capacitive.
At 100 Hz, we get 0.1% of the applied sine wave at our amplifier input, which suggests that our 10-MΩ input impedance is 0.1% of the impedance of the coupling capacitance, so that this capacitance is of order 0.2 pF. The dielectric constant of this cement should be around 4, so 0.2 pF can be made with two 2-mm square plates separated by 1 mm. We cut the blue X− lead. The coupled noise remains the same. We cut the X+ lead. The noise drops from 10 mVpp to 100 μVpp.
Our cement does not conduct electricity, even when we add water during mixing. The input impedance of the A3030D amplifier is 100 kΩ. If both electrodes are connected to the brain, the impedance between them will be closer to 1 kΩ. In either case, the noise coupled from a 5-V square wave applied to the same lump of dental cement will be less than 100 μV. Even if we disconnect the X− and leave X attached, artifact will be less than 100 μV.
Conduction through dry or wet cement cannot explain the artifact we observed from D7.2 when it was first implanted. Capacitive coupling cannot explain the artifact either, becasue the A3030D has input impedance only 100 KΩ.
[12-NOV-15] At ION, we have D7.6 implanted. We record full-scale lamp stimulus artifact in the EEG input. With 0% brightness, 10 ms pulses, 100 ms period, we get these full-scale square waves at 10 Hz (see M1447342849.ndf). We watch the implantation of D7.5 and note the L+ and X leads are touching before we apply dental cement. We believe the previous two implants were done exactly the same way, so L+ and X were touching. This time, we move the leads apart before we apply dental cement. If they were to touch, there would be a passage through the dental cement for water to creep along and so connect X to L+. Half an hour after implantation, we generate 0% brightness, 10 ms pulses, 100 ms period and see the pulses below.
We see a step up on X as the lamp power turns on. Brightness is 0%, so L− is open-circuit and L+ is connected to +5V. When we turn off lamp power, L+ relaxes as C13 discharges. At no time is Q1 turned on.
With 100% brightness, the artifact on X has a sharp fall as well (see M1447350049.ndf). In this case, L+ drops quickly at the end of a pulse because L− is connected to 0V for 200 ns after the end of the pulse. The artifact on X is 15 mV for a 5-V change in L+. The X input is connected to VCOM by 100 kΩ inside the ISL and by roughly 1 kΩ through the brain of the animal. The artifact is consistent with a resistive connection between L+ and X of 5 V ÷ 15 mV × 1 kΩ = 300 kΩ. We take two silicone-insulated steel leads and solder them to the pins of a connector. We glue cover the connector with cement, but leave the solder joints exposed. We put saltwater on the joints. We tie the two leads in a knot to make sure they are touching. We cover the leads and joints with cement. The resistance between the two leads is >40 MΩ. We allow the cement to cure. We cover with salt water. At first, resistance remains >40 MΩ. But after half an hour, it has dropped to 120 kΩ. We pour away the saltwater and dry the cement, resistance is 100 kΩ. After an hour, it remains the same. We bake in the oven at 60°C for half an hour, resistance is 130 kΩ. After one hour, it is >40 MΩ
[17-NOV-15] It is water traveling by capillary action along the surface of the silicone insulation of the lamp leads that is bringing out of the head fixture the lamp power voltage. We present our experiment and results in Conduction Through Tunnels.
In the photograph above, the ends of the red and blue leads, outside the dental cement, are connected by 100 kΩ, even with the surroundings dry. After half an hour drying in the oven at 60°C, the resistance is still 130 kΩ. Another hour later, the resistance is >40 MΩ.
[11-DEC-15] Following our discovery of conduction through tunnels, we perform the following experiment to test if we can, during implantation, seal the ends of the lamp leads with silicone. We make a head fixture with no guide cannula or fiber. We seal the LED with clear epoxy. We hold the fixture with the LED downwards and connect the leads of our D7.7 ISL, like this. We apply MED10-6607 silicone dispersion until it almost drips off the underside, see here. We allow the silicone to cure. After ten minutes it looks like this. After twenty, as below.
We apply dental cement, allowing it to run off the underside. We start with thin cement, then thicken and make sure we cover the top side. The result is shown below. We note an obvious tunnel into the cement between the two lamp leads.
We allow the cement to cure for twenty minutes. We note that the pads around the LED are still exposed on the bottom side. We place the ISL and head fixture in water and observe full-scale lamp artifact. We surround the entire fixture with cement.
We let the above cement cure for ten minutes, then we place the ISL and head fixture in water. We get the following lamp artifact after one minute.
We put hot water in the beaker. We take out the ISL and flex its lamp leads twenty or thirty times. We put the ISL and head fixture back in the water and let it settle down. We see the artifact below.
We move the EEG leads out of the water and record noise. We get this, which is pretty much the same as with the leads in the water. We wrap the lamp leads around in a loop with the EEG leads and put everything in the hot water. No change to the noise. We wait one hour to give capillary action time to move water into the dental cement.
We see the artifact reversing direction as we increase the lamp current. If we re-arrange the leads, the artifact changes.
We now encapsulate the EEG leads with dental cement. When we immerse in water, the artifact remains much the same. It appears that our silicone sealing of the lamp leads has increased the resistance between the lamp power terminals and the water in the beaker.
[14-DEC-15] After 72 hours in water, we measure artifact again with 50 ms 100% pulses.
With the lamp out of the water, the noise drops back to hundreds of microvolts, and with the EEG leads out of water as well.
[15-DEC-15] After a one-hour dry bake at 60°C, lamp noise for 100% brightness in water has dropped back to normal amplitude. We prepare another head fixture and cover all electrical pads on its top and bottom surfaces with clear DB270 epoxy, see below.
We have coated both sides, but stayed clear of the two sockets. We used a thin wire to apply epoxy between the sockets and the LED footprint. We cut the existing head fixture and cemented pins off D7.7 and solder new pins to the lamp leads. We strip and tin the EEG leads.
[18-DEC-15] We connect lamp leads to the head fixture shown above and flash the light. We cover the pins and sockets with silicone. We wait twenty minutes, with the silicone curing above a bath of warm water. We touch the silicone with tweezers and note that it is not yet tack-free. If we were to apply dental cement, we would disturb and compormise the silicone coating. After one hour, it is tack-free. We lower the entire assembly and ISL and EEG leads into water and observe lamp full-scale lamp noise. We put the lamp in our mouth and cannot taste the signal, which means it must be less than 500 mV. So we suspect we are seeing lamp noise on the EEG of order 100 mV. We feel sharp edges around the corners of the circuit board. The silicone is discolored, because it has not had sufficient time to cure. We conclude that applying one coat of silicone during surgery is not sufficient to seal the lamp power electrodes.
We move on to our Insulating Collar idea. Our objective is to stop water propagating along the outside of our silicone lamp leads and reaching the metal of the electrodes. We propose to put a collar around each lamp leads that is non-conducting, but which the dental cement bonds to securely. With contact between the dement and the collar, and the collar and the silicone, we would divide the water film into two parts, one in contact with the lamp power pins, the other in contact with the rest of the body.
We try heat shrink tubing as a collar. The smallest diameter we have is 2.5 mm on the outside before we shrink it, and roughly 0.7 mm on the inside after we shrink it. Our lamp leads are 0.9-1.2 mm in diameter. When we shrink the tubing onto one of these leads, we can slide the collar up and down the lead afterwards by stretching the lead so as to reduce its diameter. We need a narrower diameter tubing or we need a way to glue the tubing to the silicone. Setting that problem aside for now, we put some tubing in dental cement to see if we get good wetting of the plastic surface by the cement.
When we try to pull the tubing out of the cement, it breaks at the top surface of the glue, leaving the rest inside. We put collars on two silicone leads. The leads have bare spring terminations. We glue the collars into dental cement, as shown below. Because of the collars, the two leads become separated by a layer of dental cement, which surrounds the collars by capillary action of the acrylic. Resistance between the two leads is >40 MΩ. We put the ISL with head fixture, and the two-wire apparatus, in salt water for the weekend.
When the cement has hardened, we put the cup and leads in water at 60°C for half an hour, to allow water to penetrate wherever it can by capillary action. Resistance is >40 MΩ. We put the beaker on our bench and measure the resistance as time goes by. Fifty minutes after first contact with water, the wires are still insulated from one another. We add salt. Resistance between two pins 1 cm apart is now less than 1 kΩ. With the cement still in salt water, we hold it in place and pull on the two leads one hundred times. Insulation is intact. After another ten minutes, insulation is still intact.
We pull the silicone off our epoxy-sealed head fixture. We cut back the lamp leads on D7.7 and attach another set of pins. We add a collar to each lead, connect the pins to the head fixture, and encapsulate in dental cement. Once the cement is hardened, we break the cement out of its red plastic cup. We immerse in hot water, see here. We pull on the lamp leads 100 times. Lamp artifact with 100% brightness is a few hundred microvolts, and consistent with no conduction between the lamp leads and the EEG leads.
Two hours later, we see 10-mV lamp artifact on the EEG input of the ISL, but we still have isolation between the two test leads in dental cement.
[22-DEC-15] We see full-scale lamp artifact on our D7.7 input after soaking for four days in saltwater. We cut the LED fixture from the leads and measure 5 MΩ impedance between the two wires through the head fixture in both directions. The impedance of a bare, blue LED is ∞ according to the same ohmmeter in both directions. We dry the head fixture in the oven for half an hour and the impedance rises to ∞. We attach our separate two-wire fixture to the lamp leads. We keep the metal joints out of water, but immerse the fixture and EEG leads. We see full-scale artifact. When we remove the two-wire fixture, we measure ∞ Ω between the wires. We immerse the fixture in water. The resistance between the blue wire and the water is ∞ Ω, but between the red wire and the water is 10 MΩ.
We have a Loctite Super-Glue Gel, which is reputed to be able to glue silicone. We put 3-mm long collars on two wires that are terminated with screws, shrink the collars, and slide them onto a portion of wire coated with the glue gel. We put three 1-mm long collars on two red wires terminated with bare springs, as shown below. With the help of tweezers, we manage to glue all of them to the silicone.
Once the gel has cured, we can no longer slide the collars along the silicone. We embed the collars and wire tips in dental cement. When cured, we immerse in saltwater and arrange the free ends of the wires so we can measure easily the resistance between each wire and the water. We pull on all four leads one hundred times each with a force of sufficient to stretch them by 15% while they are wet with saltwater. We leave them for one hour. We combine a 10-V power supply with our 10-MΩ millivoltmeter to make an instrument capable of measuring resistance up to 100 GΩ. The water connection resistance is 20 GΩ for the two triple-collar red leads and >100 GΩ for the single-collar blue leads.
[23-DEC-15] Water connection resistances today are 100 GΩ, 30 GΩ, >100 GΩ and >100 GΩ for red left, red right, blue left, and blue right. If we want 5-V lamp power artifact to be less than 500 μV at our 100 kΩ input impedance, the water connection resistance must be greater than 1 GΩ.
[24-DEC-15] Water connection resistances today are 100 GΩ, >100 GΩ, >100 GΩ, and >100 GΩ for red left, red right, blue left, and blue right. We connect the two red leads to D7.7's lamp power, with a blue LED in parallel. The blue LED flashes. We lower the ISL into a beaker of water with the cement fixture. We see 500 μV artifact. We do the same with the two blue leads, but connect no LED. We obtain 500 μV artifact.
We pull 100 times on each of the two blue leads with a peak force sufficient to extend them by 30%. Both are wet with saltwater. We put the cement fixtures back in the saltwater with the ISL and observe the full-scale artifact below.
We have broken the seal. We do the same with the pair of triple-collar red leads, applying a force sufficient to stretch the leads by 30%, tugging 100 times. When we are done, the leads curl up because we have deformed the springs. We put the fixture back in the water and observe the same full-scale artifact. We smash open the cement fixtures. The collars are held firmly in the cement. But the leads now slide freely through the collars. The super-glue seal is broken. The leads are narrower because they have been elongated. They are no longer in compression where they pass through the collar. The triple-collar performed no better than the single-collar. Once the super-glue seal broke, the seal could not recover. We would rather make a seal by compressing the silicone so forcefully that the lead cannot slide through the collar, even if we pull on it with sufficient force to deform the spring. We have ordered narrower tubing and will try it when it arrives. In the meantime, we are curious about the resistance of the shrink tubing and super-glue seal to saltwater. We assemble two single-collar seals. We measure their water contact resistance to be >100 GΩ. We put them in saltwater and set them in our oven to poach at 60°C.
[28-DEC-15] After 4 days poaching in 60°C saltwater, our two leads have contact resistance >100 GΩ. We pull 100 times with 2-N total force on the two leads, >100 GΩ. We put the leads back in the oven to poach some more.
[30-DEC-15] After 6 days poaching, with fatigue test at day 4, contact resistance is still >100 GΩ.
[05-JAN-16] We have heat shrink tubing SFTW-203 in 1/16" size. Outer diameter is 2.0 mm before heating, 1.5 mm after. Inner diameter 1.5 mm before heating, 0.50 mm after. We heat a 10.8-mm length and find its length is 10.1 mm after. We take an 110-mm length of 1-mm diameter silicone-insulated helical steel lead. We hold one end and attach a 0.6-N weight to the other. The lead stretches by 10 mm. This lead expands by 15 %/N. We cut a 3-mm length of tubing and slide it onto the lead. We stretch the lead by 20 mm so its diameter reduces to around 0.8 mm. We shrink the tubing, then allow to cool for ten seconds. We can slide the collar along the wire easily if we stretch the wire, but it grips the wire when the wire is not stretched. We hold the 3-mm tube in one hand and the far end of the lead in the other. The un-stretched lead length between the two is 90 mm. We pull on the collar. When the lead reaches 105 mm, the collar starts to move. We repeat this experiment a few times by sliding the collar back into place, and obtain similar results. Using our earlier measurement of the spring constant for this lead, the force required to move the 3-mm collar is 15/90/0.15 = 1.1 N. We try a 10-mm collar and find that it starts to slip at a force of 1.5 N.
We glue a 3-mm collar to the silicone lead with 3M's Vetbond. The glue does not appear to bond silicone to the collar. We try Loctite Ultragel. We pull until our 90-mm length reaches 120 mm, at which point the force is roughly 2.2 N. The collar is still fixed in place. We pull further and the spring is extending by plastic deformation. The collar remains in place. We try MED10-6607 dispersion as an adhesive. We wait one hour for it to cure and find that the collar appears to be lubricated by the silicone, which has not yet cured.
We apply 3-mm collars to two leads. We glue them in place with Ultragel. We have 3 mm of silicone insulation between the collar and the 2-mm exposed helix of steel. We encapsulate with dental cement. Keeping the cement fixture in water, we measure the resistance between the leads as we flex the leads 100 times, extending them by roughly 15% with each flex. Resistance is still >100 GΩ between each lead and the water.
[16-FEB-16] At ION, we apply collars to all four leads of three A3030Ds, even replacing one of the contact pins. We implant D7.8 in a rat, making sure that the collars are separate and no contact occurs between any leads between the electrode and the collar. We cover with free-flowing dental cement, then more viscous dental cement. An hour after surgery we observe minimal artifact, as shown below.
The maximum artifact is 200 μV spikes for the 10-ms, 10-Hz pulses of 100% power. The spectrum of these spikes is shown below.
The first harmonic of the lamp artifact is at 10 Hz. The second harmonic is larger, which is consistent with the 10% duty cycle of the lamp stimulation. The ninth harmonic is at 93Hz, which suggests the pulse rate is 10.3 Hz rather than 10 Hz. In theory, the ISL clock should be accurate to 20 ppm, with a period resolution of 30 μs. We suspect a bug in the firmware is responsible for the 0.3-Hz error in the pulse period.
[23-FEB-16] After one week implanted, we see full-scale lamp power artifact on D7.8's EEG input. We assume that repetitive stress upon the bond between the collar and the silicone leads has caused them to fail by fatigue. We note that we did not allow sufficient time for full curing of the superglue gel before implantation, but it could be that even fully-cured superglue gel will fail in the same way. We will look into stronger and more resilient bonds between silicone and the plastic tube collar.
[25-FEB-16] Bought some silly putty, which sticks very well to silicone. But dental cement won't stick to silly putty, nor will our heat shrink tubing stick to silly putty.
[26-FEB-16] We filled the gap between a two shrink tube collars and two silicone leads with fresh silicone. The tube has not yet been shrunk. We place these under a petri dish with some water, and heat with a lamp. The silicone cures over-night in the humid air. When we tug on one of the collars, it comes off immediately, leaving cured silicone behind on the lead. We shrink the other collar. When we tug on it, the shrunk collar comes off easily as well.
[26-FEB-16] We have a double-bore ceramic tube. We break off 15 mm of it and run two fresh springs through the two bores. We coat the springs with silicone and move them in and out until the silicone penetrates all the way through the bore. We leave to cure. If silicone bonds well to ceramic, and ceramic bonds well to dental cement, we may have an effective insulating collar.
[29-FEB-16] Our two springs are cemented securely in the ceramic tube by silicone. We tug with sufficient force to stretch the springs, but there is no yield in the bond between the ceramic and the steel. We put the ceramic tube in dental cement. After half an hour, we cannot extract the collar from the cement.
We take hold of each spring with pliers and pull. The entire spring unwinds. But the join in the ceramic bore holds. We pull harder and the seel pulls out through the silicone within the bore.
[15-MAR-16] We have four single-bore ceramic collars cemented with silicone to four leads. The two small collars are 1.0 mm ID (inner diameter), 2.3 mm OD (outer diameter), and 3.2 mm long. They will slide over leads with only three coats of silicone. The two large collars are 1.7 mm ID, 4.3 mm OD, and 4.8 mm long. They slide over any lead. Both beads have a concave side and a convex side. We slide the lead into the concave side. We coat the lead with silicone and slide in and out until we see silicone on the lead on both sides of the bead. The concave side holds a body of silicone around the lead. We hand to cure. The results are shown below.
Once cured, we note that silicone has crept half-way up the outside of the collars. We scrape the silicone off with a scalpel. Cut cut the short ends to the same length, remove 2 mm of silicone to expose the wires, and cement into a tub of dental cement all together. We place in water and set up a motor-driven wire-flexer that pulls on the leads while they sit in a beaker of water. We clamp the leads 50 mm from the collars and we streth them by 10 mm once per second.
After thirty seconds, we measure isolation resistance of each lead with respect to the water in which the cement fixture is immersed. For the blue, red, and purple leads, the isolation is only 1 MΩ, indicating the seal between the silicone and ceramic has broken. We are seeing the resistance of the microscopic film of water between the lead and the collar. The orange lead's isolation is >100 GΩ. We put the cement fixture in our ove at 60°C. After half an hour, we place in water again and isolation resistance is >100 GΩ for all four leads. We begin flexing. Within thirty seconds, isolation resistance is 1 MΩ for blue, red, and purple. The isolation of the orange lead remains >100 GΩ after 3600 s of flexing.
The fit between the lead and the collar in the previous for examples was tight only in the case of one of the smaller collars, although we did not make note of whether it was the orange or the purple. The only way to make the fit tight is to start with a lead of tapering thickness. We have eight such leads. We make four tight-fitting collars with silicone as adhesive and leave to cure in warm humidity. Another possible source of failure in the collars we glue in place with silicone is failure of the seal outside the collar because of silicone residue on the ceramic surface. We make another four and glue with Loctite Ultragel. We allow the glue to cure in warm humidity for one hour. We assemble into a dental cement head fixture and load into the wire flexer. We connect all four free ends of the leads together to our isolation meter. All four isolation resistances in parallel are 3 GΩ. After 600 s, combined isolation is 4 GΩ. After 1000 s, 6 GΩ, and after 5000 s >100 GΩ. We leave the flexer running.
[16-MAR-16] After 18 hrs of flexing, leads 1-3 of our set of 4 have broken by fatigue where they pass over the lip of the beaker in our wire-flexing apparatus. Lead 4 is intact, with isolation resistance >100 GΩ. We remove silicone from the free ends of the other leads, and isolation resistance is >100 GΩ for all three. In one case, we have 65k flexes and the collar seal is still intact. In the other three cases, we have failure of the spring by fatigue before the collar seal fails by fatigue.
[17-MAR-16] We left the four collars in water overnight. Their combined isolation resistance is >100 GΩ. We also have four collars cemented to leads with silicone dispersion. All four have a layer of silicone roughly 50 μm thick on the outer surface at the ends of the collar. We pull on the collars and find that the cement in three of them breaks easily, and in one of them a good tug gets it free. Given the success of the Loctite Ultragel cement, we abandon the silicone cement.
[03-JUN-16] We added collars to the lamp leads of two ISLs and shipped to ION. We did not add collars to the EEG leads, because there is no point: the EEG leads are connected to the body already. We had to stretch the lamp leads in order to get them through the collars. The result is leads that are over-stretched and twisted. We implant one at ION and the seals fail after a few days. We try again without a head fixture, but the seals fail immediately.
[22-JUN-16] When we add collars ISL lamp leads, they last no more than a week before the collar seal breaks and the >30 mV lamp artifact returns. In our two most recent implantations, we buried the lamp lead tips in dental cement with their collars, but without a lamp. Immediately after surgery, we observed full-scale lamp artifact, which suggests the seals broke as soon as the animal started to move.
We have difficulty adding collars to existing lamp leads, because the leads are too thick to pass into the collar bore. We must stretch the leads by their steel wires, which compromises the elasticity of the insulation and causes the end of the lead to curl up. We now start with new lamp leads, with tapering insulation at one end, and thread these into dual-bore collars. We cut off the existing lamp leads and solder the new lead in place.
The ISL's EEG amplifier has a single-ended input. It measures the potential difference between the X+ and X− electrodes, but the X− electrode is a direct connection to the 1.2-V power supply in the ISL circuit. When the lamp lead collar seal breaks, fluid around the leads connects the surface of the skull to 5 V. The point connected to X− remains at 1.2 V. Current flows from 5 V to 1.2 V. The point connected to X+ is somewhere in potential field generated by this current, and so we have the lamp artifact. If our ISL amplfier were truely differential, and presented a 10-MΩ impedance at both X+ and X−, the current flow to the X inputs would be greatly reduced. We would, however, still need a reference connection somewhere in the body to anchor our differential amplifier's input range, and this reference connection would re-create the problem we started with. But if we use a floating power supply for our differential amplifier, such as is provided by an indepenent SCT device, we get the near-perfect differential input without any need for a reference connection. In this way, we may be able to reduce the artifact arising from broken seals dramatically.
Our plan is to test the dual-bore collar and the floating differential EEG input in a single experiment. We have A3030Ds D7.9 and D7.11 modified as shown below, and ready to ship with (A3028E) numbers E116.7 and E116.12. We attached new lamp leads and insulated the joints with silicone. The lamp leads pass through a dual-bore collar, into which they are glued with Ultragel. We have a blue LED soldered to the ends of the lamp leads. We cut off the EEG leads and covered with silicone. The A3028Es have a pin and a bare wire for electrodes, but the choise of electrode is unimportant.
The circular A3028E has 10-MΩ input impedance and will measure lamp artifact with a power supply independent of the ISL. We have not joined the EEG leads because at this point we know the >1 mV lamp artifact is generated by electrical conduction through water around the lamp leads, not by the lamp leads's magnetic field. The ISL itself measures only the internal electronic lamp artifact of the ISL circuit. Its EEG leads are cut off and sealed.
We put our two ISLs in water and start them producing 10-ms pulses at 10 Hz. We record their EEG input with the LEDs out of the water and with the LED in the water.
We put the two SCTs in the water and measure artifact with the LEDs out of the water and in the water.
With the lamp in the water, we have the No7 (salmon) EEG pick-up electrodes 10 mm from the exposed terminals of the LED, an the No6 (brown) electrodes are 40 mm away. In the 40-mm case, if we were to use the ISL's own amplifier, we would see artifact of >27 mV. With our floating EEG input we see roughly 3 mV. We ship these components to ION. If the collar seals are effective, we should see less than 100 μV artifact on the SCT amplifiers. If the collar seals break, we should see something between 100 μV and 3 mV artifact, depending upon the resistance of the fluid that penetrates the collar.
[09-AUG-16] We implant ISL D7.9 and SCT E116.7 at ION/UCL. The ISL's EEG leads are cut short and sealed. The SCT EEG electrodes are on the skull. The ISL's LED is embedded in a dental cement head fixture, with the dual-bore collar within the cement. Six days after implantation we see the following artifact during lamp stimulation.
The artifact in the ISL reaches a maximum at 40% brightness, which is a characteristic of the electronic artifact generated within the ISL circuit. Its amplitude is of order 100 μV. There is no sign of artifact in the SCT recording. We look at the spectrum of the SCT signal over eight seconds during 100% brightness and see no sign of a peak at 20 Hz (50 ms period), which means the lamp artifact in the SCT recording is <10 μV.
We implant D7.11 and E116.12 in another rat. This time, the EEG leads of the ISL are cut short but not sealed, so that the wire tips are several millimeters apart in the abdomen and exposed to body fluid. Two hours after implantation we observe the following lamp artifact.
The artifact in the SCT signal remains <10 μV. But the artifact in the ISL signal is of order 20 mV. If the collar seals were to break, current would flow from the head fixture to the ISL's X− input, which is connected to the ISL's 1.2-V power supply. A potential field will develop through the animal's body. The SCT electrodes on the skull, being of order 10 mm apart, will pick up this pulsing potential field, as will the ISL's X+ electrode, which is a few millimeters from X−. But we see no artifact in the SCT EEG, so the artifact cannot be caused by a break in the collar seal. Instead, we suspect that the seal around our lamp lead solder joints has failed after minimal fatigue or handling, and the result is a pulsing current between an exposed lamp power lead and the ISL's X−. The ISL's X+, being nearby, picks up this field, but the SCT's EEG electrodes, being far away on the skull, do not pick it up.
[27-JUN-17] We set up the following experiment designed to measure lamp artifact voltage in D7.12 directly. We have two water reservoirs, A and B connected by a resistor R1 whose value we can vary. We ground our oscilloscope probe on reservoir A or B and measure voltage in various locations.
We flash the lamp at 10 Hz to full power. With the oscilloscope grounded to one edge of A and the lamp flashing with bare contacts at the other edge, we measure the voltage in various locations in A. Next to the lamp we see a 50-mV DC voltage added to 100-mV pulses when the lamp turns on. Near to the ground clip we see a 50-mV DC voltage and no pulse. The 50-mV DC voltage persists when we remove the lamp from the water. We connect A and B with 100 kΩ and ground our probe to one side of B. Pulse amplitude is less than 10 mV. The voltage between the two reservoirs contains no pulses. We insert the blue X− lead into B. The voltage in B with the probe grounded to one edge of B is zero. But now the voltage between the two reservoirs is an average of 0.5 V with pulses ±0.5 V during the lamp flash. When we insert X+ in B instead of X−, we see average of 50 mV with pulses of ±50 mV between A and B. We put both X leads in B so they are touching one another. We see full-scale pulses on the X signal from D7.12. We transfer X− to A. We see 250-mV pulses between A and B. The X signal still shows full-scale pulses.
[28-JUN-17] We attach our scope probe to X− and measure the voltage of B. We get the following erratic pulses while flashing the LED for 1 ms at 100 Hz.
The voltage in B during the pulses is always 1.3 V above X−, or 2.5 V with respect to 0V in the circuit, because X− = VCOM = 1.2 V. The L+ and L− leads are at +5V and 0V respectively during a 100% pulse, so their average voltage is 2.5 V. The 100 kΩ resistor carries this 2.5 V to B and we measure it with respect to X− as 1.3 V. When the lamp is off, the average potential of the lamp leads is erratic. We suspect a bug in the firmware: the lamp leads should be in the same state at the end of every pulse. Between some pulses, B reaches 3.8 V, which is 3.8 + 1.2 = 5.0 V above the 0V of our A3030D circuit, consistent with both lamp leads being at +5V, which is what we expect between pulses.
In most pulses, B reaches only 1.8 V, or 4.0 V with respect to circuit 0V. We look at the lamp leads directly and find their voltages are erratic at the end of the pulse, as if Q1 is sometimes switching off before we turn off the boost regulator, and sometimes after. We replace D7.12 with C6.7 and obtain consistent, uniform pulses in B.
We replace 100 kΩ with 10 MΩ. The variation in B is 200 mV dominated by 60 Hz, and with average value 0.7 V. We place the lamp in B and voltage in B is the same as for 100 kΩ bridge. We remove silicone and burn off epoxy to get to the A3030C 0V terminal. We ground our probe to 0V and measure B. Lamp-on voltage is 2.2 V, lamp-off is 4.4 V. We connect 0V to B with a wire. Average voltage of B now 0.7 V with pulses 60 mV as shown below.
The wire from 0V to B reduces the amplitude of the pulses in B from 1.4 V to 60 mV. In X the lamp artifact now fits entirely within the 30-mV dynamic range of the input. With a 10-MΩ bridge resistor, lamp artifact on X drops to 500 μV. With 100-Ω bridge the pulses in B are 500 mV. If we move the ground clip to touch the end of the 100-Ω bridge, the pulses in B drop to zero. We move the 0V connection to A, near the 100 kΩ bridge, and place the LED on the far side of A. The voltage in B varies with the pulses by 1V from a minimum of 1 V.
[04-AUG-17] We have MM-47 compression springs made of 250-μm diameter stainless steel wire. We cut a 10-mm length of spring and to assemble the tunnel-grounding termination shown below.
Here the yellow lead is soldered to the grounding spring. We would rather use green in the future. The red and blue leads are standing in for the lamp leads. We usuallly use orange and purple. The spring is intended to protrude a few millimeters from the head fixture cement. It is tight on the lamp leads, so that it will make contact with the fluid that lines the lamp lead tunnel out of the head fixture.
[05-SEP-14] We assemble seven A3030As. Together with our existing A3030X prototype, they make a total of eight circuits. We load antennas and tune all eight crystal radios to 146±0.5 MHz. We have 8.0 pF for C8, and we add between 0.0 pF and 1.5 pF to bring the tank resonance to 146 MHz. We number these eight circuits No1.1 to 1.8. They are A3030A assemblies: no EEG circuits loaded, command reception implemented, lamp drive loaded.
[08-SEP-14] We use firmware P3030X10.vhd to program our eight A3030As. We compile a different jedec file for each device id, going from 1.1 to 1.8. We measure inactive current, active current with lamp turned off, and active current with lamp turned on. We correct a few problems on the boards during our tests.
The inactive quiescent current is around 4 μA for the first few seconds we connect power, increases to almost 7 μA for a minute, then drops to the values we list above.
[15-SEP-14] We have encapsulated No1.2-1.8 in the following manner. We remove all insulating and binding tape from a GM382030 LiPo battery. We solder its tabs to our A3030A circuit board. We apply three coats of acrylic conformal coating to both sides of the circuit board. We cover the top side with optically clear E-30CL epoxy and press the battery down upon the glue. We lay the circuit on teflon with the battery down. We apply the same glue to the bottom side, which is not facing up. We allow to cure. In most cases, some glue has dripped down off the circuit board, around the battery, and onto the teflon. We clip and filed the excess glue from around the battery. We applied two layers of acrylic coating to the battery leads. We hung the devices by their antennas, so they were vertical, and dipped four times in silicone. Today we filled a few bubbles and covered the top-side sharp corners of the circuit boards.
[17-SEP-14] We have seven encapsulated A3030As. We are happy with six of them. No1.7 has a hole in the battery flange from over-enthusiastic trimming of the excess epoxy. We test No1.3, 1.4, 1.5, 1.6, and 1.8 to ION. We ship these along with five head fixtures, two antennas, one Command Transmitter, and two ethernet cables.
Not included in the shipment is the boost power supply for the Command Transmitter. We believe ION still has the boost power supply from ISL Stage 4B, while will do the job.
[08-OCT-14] A3030A No1.2 has been in water for a 9 days. It still works fine. Now place it in saltwater.
[22-OCT-14] A3030A No1.2 has been in water for a 23 days, most of that in salt water. It still works fine.
[24-OCT-14] We have 30 of A3030B assemblies, fully popolated on the improved A303001B circuit board, which includes rounded edges and all modifictions necessary to the A3030A. We attach antennas and program with the P3030B04.vhd firmware. Even before calibration of the ring oscillator, data transmitter, and cyrstal radio, we obtain reception of commands and data. We can stimulate the lamp output and record mains hum.
[07-NOV-14] We have antennas, lamp leads, and electrode leads loaded on six A3030Bs, No2.1-2.6. We tune their crystal radios using the apparatus we describe above. We program all boards with firmware B04.
[11-NOV-14] We have six head fixture tapers glued to LEDs and two guide cannulas glued. We have all leads and antennas loaded. We measure quiescent current of the circuits, and calibrate their ring oscillators and radio frequency oscillators. We speed up the ring oscillator to give us more resolution, by removing one gate, so we now have firmware P3030B05.vhd.
The quiescent current of 2.6 is correct except for one anomoly. When we turn off data transmission, current drops to 5 μA, rises to 90 μA, and drops to 5 μA again, where it remains. The rise and drop take about twenty seconds. We programmed another circuit and it had the same behavior, but No2.1-2.5 do not exhibit the rise and drop.
The Lamp On current is with an EZ500 connected to the organe (L+) and purple (L−) leads. We measure the total resistance of these leads, and it is 60-70 Ω, average of 65 Ω across the six A3030Bs. We measure the lamp current at 35 mA, a little short of our target 40 mA.
[14-NOV-14] We loaded batteries on No2.1-2.6 using solder with aqueous flux. We washed the battery tab joints, being careful not to soak the battery. But No2.1 and No2.6 do not respond afterwards. We unsolder battery and resolder, and they respond for a while. We think we have them fixed and dried, then we apply epoxy and discover that they don't work.
The photograph below shows our ISL Stage 5 Delivery. We have five A3030B ISLs and 5 A3024HFC-B Head Fixtures. The No2.1 ISL failed during encapsulation, so we are sending it as a physical sample.
The head fixtures are No3.4, 3.5, 5.1, 5.2, and 5.2, which produce 13, 13, 13, 15, and 14 mW blue light respectively at their fiber tips when supplied with 40 mA forward current. The A3030B lamp current leads have resistance roughly 65 Ω, compared to 55Ω for the A3030A leads. As a result, the lamp current is closer to 35 mA, so the light emitted by the fiber tips for these devices will be around 12 mW. Accompanying these circuits, we have the ISL Controller Tool, Version 2.2, which fixes some device-addressing problems present in Version 2.1.
[15-JAN-15] In November, before we shipped the ISL5s, we put one in water with a head fixture and obverved up to 10 mV of switching noise on the EEG monitor when we flashed the lamp. The amplitude of the noise did not correlate well with proximity of the lamp and the EEG leads. After half an hour of work, we ran out of time to examine the problem. Since then, Rob Wykes has implanted No2.5 and observes the following noise on the EEG signal during 18-Hz, 10-ms optical pulses of 0-100% power.
Detail of the 20% power noise, shown below, shows a rising and falling edge on the pulse start and stop, and another 130-Hz interference that we see also when the light power is 0%.
We believe both these types of noise are electrical and magnetic, rather than photovoltaic. The boost regulator runs even at 0% power, so its switching noise is most likely the source of the persistent 130-Hz. The large spikes when the lamp switches on and off may be due to proximity of the four leads, or be electrical through the body fluids. We do not see such noise when the devices are unencapsulated and in air.
[27-FEB-15] We compare reception of repeated commands by the A3024A and the A3030A. We fasten an example of each to a piece of cardboard.
We use our 146 MHz Command Transmitter (A3029A) to produce commands for the A3030A, with the correct checksum and byte instructions. When the RF power turns on, the A3024A picks it up and turns on its light also. We measure maximum range of reception, for a favorable orientation, and maximum range for reception in 95% of orientations. We also test reception with the two devices in water.
We measure maximum range for reception in water. We add 5 g of salt to the 500 ml of water and stir until dissolved. We measure maximum range again.
|Test||A3030A No1.2||A3024A No7|
|Robust Reception Range on Cardboard||70 cm||100 cm|
|Maximum Range on Cardboard||250 cm||600 cm|
|Maximum Range Held By Lamp and Dangling||300 cm||900 cm|
|Maximum Range in Water||70 cm||450 cm|
|Maximum Range in Saltwater||70 cm||450 cm|
It occurs to us that encapsulation or an exhausted battery might affect No1.2's reception, so we try an un-encapsulated A3030B with a fully-charged battery and measure maximum range in air. We get 250 cm, the same as for No1.2. We walk around with the lamp held in our fingers, and the device dangling below, and repeat our measurement of maximum range.
[05-MAY-15] We program and calibrate A3030C circuits C6.1-7. Calibration and test results below. We measure active current by shorting OND to VB. Our VB is 4.28 V, so R22 draws 130 μA, which we subtract from total current consumption to get the consumption of our A3030C circuit when active with its ring oscillator running and state machines at the ready, but neither transmitting nor flashing the lamp. The A3030C can be active for almost 3000 hours.
We solder seven 190-mAhr LiPoly batteries to the seven circuits with no-clean, water-insoluble flux. We charge them all until they are full. We remove the positive leads, clip the programming extension off, re-solder the positive lead, and start encapsulation in black epoxy.
[06-MAY-15] We have seven partially-encapsulated A3030C, C6.1-7. We put them in a faraday enclosure in petri dishes and turn them all on. We get the following noise spectrum from all seven.
Total input noise is 8 μV rms. The average value of the signals should correspond to 1.2V, and the full range to 3.0 V, so we use the average value to calculate the 3V0 voltage and get 2.94±0.02 V. Data reception with two A3027D antennas is >95%. Command reception within 30 cm of the command transmit antenna is >95%.
[07-MAY-15] Batch ISL6 is ready to ship. Devices C6.1-7 are all encapsulated in black epoxy, black varnish, and four coats of silicone. All have gain versus frequency within 3 dB of nominal. All respond to commands, respond with acknowledgment, and deliver stimulus to their lamp pins. All have perfect reception in a faraday enclosure, except C6.4, which is the one with TCK period 230 ns. We ship C6.2-3, C6.5-7 to make five for ISL6. We ship A3024HFC-B numbers B2.7, B6.1-3, and B6.8. The Command Transmitter is serial number Q0150 with firmware B1.
[11-MAY-15] We put a self-propelled ball in a latex glove and attach C6.1 to the outside. We place the combination in a tub of water and let the ball move the ISL around through the water. We place the tub in an FE2A faraday enclosure with three data receive antennas and one 915-MHz command transmit antenna. We put the lid on.
We measure data reception from C6.1 over one minute and get 92%. We disconnect the A3029B command transmitter from its antenna and get 94%. We turn off power to the 915 MHz oscillator on our A3029B and get 91%. It appears that the command transmitter, when inactive, is not affecting reception.
We use the ISL Controller V3 to request 116 acknowledgments. We receive 100. If we assume loss of acknowledgments occurs at 92% in data reception, we estimate that command reception is 100 / 116 / 0.92 = 94%.
[04-SEP-15] C6.1 responds well to commands, battery voltage around 3.7 V, and reception of data is good. C6.4 does not respond.
We have C6.1, C6.3, C6.6, and C6.7 responding to commands and transmitting EEG. Acknowledgement transmission fails roughly 10% of the time. We have C6.2 and C6.4 with gas pressure inside. Neither of them works. We dissect both of them with intent to upgrade to A3030C-LO.
[17-JAN-17] C6.2 and C6.4 have been refurbished to A3030C-LO and soaked in water for a week. They are still flashing their test lights on command. We remove test lights, dry, and bag ready to ship to ION.
[14-FEB-17] We refurbish C6.3 and C6.6 to A3030C-LO. C6.3 inactive current 6.8 μA, transmit 117 μA, white LED at full power 60 mA. C6.6 inactive 5.8 μA, transmit 117 μA, white LED full power 57 mA.
[10-JUL-15] This batch scheduled to ship in the first two weeks of July. We tune all crystal radios, modify all boards for 100 kΩ input impedance and the new lamp switching mosfet. We program D7.1-12. We measure current consumption in various states.
We check frequency response with a 4 Vpp sinusoidal sweep 1-500 Hz through 20 MΩ, which produces 20 mV at X. All are within 2 dB of nominal. We heat every circuit until reception stops due to frequency drift in the RF oscillator, then allow to cool, then freeze to −10°C. Reception is robust roughly 0-50 °C.
[11-JUL-15] We re-program D7.1-10 with P3030D06.vhd because they have a potential problem with the ADC conversion. We clip programming extensions and load batteries on to all devices (D7.1-12).
[15-JUL-15] We have D7.1-12 all working. We put them all in water and turn them all on. We measure simultaneous reception with one antenna, the value of the 3-V power supply as deduced from the average value of the signal, and noise in micovolts.
ID RECEPTION (%) VA (V) NOISE (uV rms) 1 93.75 2.92 10.07 2 88.28 2.95 10.49 3 100.00 2.96 14.21 4 95.31 2.94 11.82 5 98.44 2.96 11.78 6 97.27 2.94 11.13 7 98.44 2.98 13.29 8 87.89 2.97 10.76 9 95.70 2.91 8.46 10 95.70 2.96 11.18 11 87.50 2.93 12.60 12 98.44 2.94 11.87
When we turn them all on simultaneously with one command, we get the following traces for their X inputs.
The D7.7 device responds differently. We test its frequency response and find it normal. All other aspects of its behavior are normal.
[16-JUL-15] We are shipping the following items today, to fulfill ISL Stage 7. There are ten A3030Ds and fifteen A3024HF head fixtures.
Of twelve A3030Ds we made, 100% of them were fully functional after encapsulation. We ship ten of them, holding back D7.7 and D7.10 because of minor deviations in their behavior from the average. We forgot to bind the X+ and X− leads together before we soldered them to the circuit boards. We likewise forgot to bind the L+ and L−. We bound the leads after encapsulation, which produced an unattractive finish on the previously smooth and rounded silicone-coated springs.
We believe there will be no problem implanting these lead pairs, not any compromise of their fatigue resistance due to the cosmetic problems with the finish.
[04-SEP-15] D7.7 responds well to commands, battery voltage around 3.7 V, but reception of data is intermittent on our bench, while reception from C6.1 is good. D7.10 does not respond at all.
[08-SEP-15] We remove silicone from D7.10 battery terminals. Battery voltage is 0.7 V. We solder leads to the battery pads on the circuit board and start to recharge. While re-charging, we turn on and off data transmission, and initiate stimuli. Data reception is perfect. After ten minutes, we disconnect re-charge and the device is running on its own battery. We re-connect re-charge and leave over-night.
[16-FEB-16] We implant D7.8 at ION. An earlier implant is 2 months old in another animal, and head fixture is still intact, but battery has run down. The new implant has leads sealed with collars. Artifact is minimal. Reception of commands is reliable. The head fixture contains a green LED.
[06-APR-16] We have D7.6 back from ION. We expose battery terminals, but when we apply 4.3 V no current flows. We clear more glue and enamel away. We cut the battery tabs to separate them from the circuit board. The positive tab crumbles as we cut it. We pull a sliver of metal that appears to be part of the positive tab out from the battery sleeve and try to charge through that, but still no contact with the battery inside.
[09-APR-16] We work more on the D7.6 battery, exposing the positive battery terminal where it enteres the battery package. But there is no voltage on the terminals, and they will not accept recharge current. We pry the battery off the circuit. It comes off with a little force. We apply external power. Inactive current 5.0 μA. Transmit current 110 &u;A. We measure frequency response as on 10-JUL-15 with external battery. We do the same for D7.1, D7.3, D7.9, D7.11, and D7.12 with their own batteries.
[17-JUN-16] We have three A3030Ds on the shelf. All respond to commands and generate lamp stimulus power. Noise in 30°C water is <10 μV. We measure frequency response.
We take D7.9 and D7.11 and clip all four leads just past the receive antenna. We make two new lamp leads with tapered ends and run them through a dual-bore ceramic collar. We glue the leads in place. We solder a blue LED to the ends of the leads. We solder the leads to the cut-off ends of the original lamp leads. We insulate the cut-off EEG leads and the new joints in the lamp leads. The result is shown here.
[18-OCT-16] We have D7.9 and D7.11 back from ION. Each has been implanted for at least four weeks. D7.11 has a gas bubble in the battery that we can push on, and it smells sweet. It does not turn on. D7.9 has no gas bubble and works. We dissect. The battery voltage is 1.2 V. Disconnect battery and stick a pin into the metal foil to release sweet gas from within. Voltages is 1.0 V. Apply 2.6 V external supply. Current consumption 30 μA. Raise to 3.6 V, 5.4 μA. Turn on with command, 119 μA. We have D7.10 that was working 11-SEP-16 but now has gas pressure inside. Battery voltage 0.0 V. Dissect. Connect external power, get 60 μA inactive and 160 μA active. Wash, bake, inactive current 60 μA. D7.7 works as is, with its battery intact. D7.6 is separated from its battery, inactive 5.8 μA, active 120 μA. Works fine. Replace antennas and lamp leads. Replace C7 with 0.5 pF after knocking off. Remove EEG leads. Active current 114 μA. With 10-ms 100% pulses at 10 Hz, no lamp attached, 170 μA. D7.12 is fully-equipped with leads and encapsulated. It works perfectly.
[24-OCT-16] We have two A3030D-LO devices D7.11 and D7.6 ready to ship to ION. They have no EEG leads, but their EEG amplifier and sample transmitter is operational.
We take care to make sure the pins are soldered in the correct direction on the leads. Looking at this picture we see that the positive (orange) lead must be in the foreground when the pins are pointing to the left. Otherwise the implanter has to rotate the pins. The length of lead from the collar to the pin is 5 mm so the implanter will not need to fold the leads within the head fixture, but instead can build the head fixture directly over the pins and collar. The devices are encapsulated in black epoxy using our rotator procedure, and then coated in SS-5001 silicone, with extra silicone applied to the sharp corners. The result is not pretty, but it is resilient and flexible.
[16-DEC-16] We have D7.1 back from ION after several weeks of implantation. It turns on and off. No sign of gas bubble or corrosion of the encapsulation. We also have D7.7, D7.9, and D7.12 working perfectly. We dissect D7.1 and D7.7 so as to upgrade to A3030D-LO.
[21-DEC-16] We damaged D7.1 when dissecting. We have D7.7 as A3030D-LO ready for encapsulation. It's inactive current consumption is 5.5 μA, active is 114 μA. We dissect D7.9. Inactive 4.5 μA, active 106 μA. We prepare for encapsulation with a new battery as A3030D-LO.
[21-JUL-17] We have the A3030E circuit board A303001C, the schematic S3030E_1, and bill of materials A3030E.ods prepared and have asked for assembly quotes. The parts are $56 per board from Digi-Key, assembly should be around $50 with a promotional deal, and circuit boards are around $800 on a five-day turn. We are hoping that the cost of 20 will be around $2000.