Wednesday, February 27, 2019

Fixing Ebike battery, resetting OZ890

My Ebike's range dropped significantly. I took the battery apart and and found 7 pouch Lithium-Polymer cells and a BMS printed circuit board based on the OZ890. Every cell consists actually of two smaller cells connected in parallel so the battery architecture can be described as 7S2P.


Firstly I noticed that there is one cell with unusually fast voltage drop, when the cell voltage dropped to 3,2V the BMS turned the complete battery of to prevent damage. Removing kapton foil revealed a crack on the battery pouch:
Replacing complete battery is not an option, 6 of 7 cells are still fine. I wasn't able to find exactly the same replacement cell so I decided to cut the corners and built a cell combination which will fit into the place of the damaged one. 6 pieces of 18605 cell fit perfectly and if they are connected 2S3P then their voltage matches original li-po cells and their capacity is even higher than rest of the cells. I ordered 6 new 18605 cells already welded in the desired shape and put it instead of the damaged cell.
My strategy was to fix the battery by replacing damaged component and I believe that as long the new cell has got the right voltage and at least the same capacity (ideally a bit higher) then it has to work.

OZ890 BMS had to be reset to accept the battery. In this case one of the middle cells were replaced, it means, during the complete operation OZ890 was powered up continuously and it detected 0V on one of the cell which was replaced. I wasn't able to reset the OZ890 with original o2micro USB I2C interface, but disconnecting the BMS from the batterypack completely did the trick. After reset the BMS allowed normal charge and discharge procedure. This means, that there is no Coulomb counting in the BMS and that there is voltage supervision only. I don't expect this trick to work with more sophisticated BMSes. Fixing this battery wasn't all that difficult. It has been couple of month since I did it and the battery still serves its purpose. 

Tuesday, February 26, 2019

Fixing Rocktile GB-15 bass guitar combo



I bought a damaged super-cheap bass combo for practicing at home. Description provided by the previous owner mentioned that signal overdrives and that it sounds unpleasant.

After turning this on for the first time I noticed that:
  • there is unwanted overdrive/distortion
  • distortion changes over time
  • after couple of second there is no sound
As always I checked supply voltages first - they were fine. Power stage built around TDA2030 worked too so I concentrated on the preamplifier. Replacing opamp didn't help so I had to understand how the circuit works. There was no circuit diagram available so I reverse-engineered it from the PCB:
After connecting a signal generator to the amplifier I noticed that it operates normally for a while after touching pin number 2 or 3 of the 4558 operational amplifier. Using oscilloscope I observed that voltage on the pin number 2 of the 4558 is slowly rising and when it saturates the circuit doesn't amplify anymore:
I knew that this has got to do with an input bias current of the operational amplifier. In one of my favorites books "The Art of Electronics" I read that input bias current problems become visible some time after turning the circuit on, when impacted capacitors charge, for low input bias current amplifier it can be even minutes after turning a circuit on.

According to circuit diagram every input pin of the operational amplifier has got a DC path designed for input bias current. I measured R7 resistance on its pins and it appeared to be fine but by measuring resistance between pin 3 of the 4558 operational amplifier socket I noticed that the R7 is not there. I inspected the PCB and discovered that there is a crack on the PCB between the R7 and GND. On the movie below you will see (sound is important for that movie).



After fixing that PCB crack with a drop of soldering tin the amplifier started working

One more note here is the fact, that the input jack socket shorts input to GND when there is no plug inserted. It is so to avoid noise when there is no guitar connected. But to connect a signal generator to the PCB you have to be aware about that and to plug something in to open the input socket.

Sunday, February 24, 2019

Fixing DENON DCD-510AE CD player


While visiting friends I heard their complaints that they have a CD player which keeps on resetting. It wasn't able to eject the CD (there was one inside). On the display it was continuously saying "READING". From time to time this player was able to start playback but it ceased when pressed "next". I was told that the CD module was already replaced twice with no result. My first thought was that it has got to do something with supply voltage. Circuit diagram is easy to find on https://www.manualslib.com/manual/1115299/Denon-Dcd-510ae.html#manual .
I started by checking 5V and 8V net, see sample trace below. I also observed (you have to believe me because I have no waveforms for that) that 8V was dropping to lowest values when a skip track or eject button was pressed. Spinning the CD loaded the 8V and 5V net significantly too.
Blue trace i 8V and yellow is 5V.
5V and 8V are both generated by linear regulators and it is obvious that 8V is overloaded so much that 5V falls below reset threshold. I inspected C914, IC93 and C916, they appear fine. I measured current consumption on 8V (approx. 1A max) and supply transformer voltage. According to my crude calculations C914 value is way too low, and I believe that the power supply is calculated without margin. I don't have 22000uF capacitor and I didn't want to order one but I realized that I have a 230V to 5V 1A switching mode power supply and keeping in mind that the main load on the 8V net is the 5V regulator I decided to add an additional power supply to provide 5V from another supply.
I removed IC94 and connected additional power supply (see yellow rectangle) parallel to C917. This new power supply is connected in parallel to the primary winding of the main transformer of the CD player T901
It's not ideal, I could try experimenting with the original power supply and low ESR high capacity alternatives for the C914 but I had an extra switching mode power supply lying around so I used it. It works just fine.