Audio Circuit (PC Engine Duo)
The PC Engine Duo has a sound system that mixed audio from various sources.
I have yet to reverse engineer the entire circuit, but have done a good amount of it.
A lot of the circuit users op amps, and a good replacement is the Texas Instruments RC4558.
Audio can be provided from:
- HU6280 (pin 17 Left Out, pin 18 Right Out)
- HuCard (pin 2)
- Super CD Engine
In short, many 4558 Op Amps feed audio through a multiplexer (BU4053BCF) to mix the various sources together, and they get sent out to the headphone port through an op amp and to the AV port through an op amp.
A quick overview of the typical issues I have encountered are:
- NEC D91317GD pin 81 which should enable the BU4053BCF Enable pins 9/10/11 sometimes doesn't go high. In which case just wire pins 9/10/11 to 5V (not 7V).
- Dead 4558 op amps (any of them) are dead. IC503, IC521, IC506, IC203, IC202
- Rotted traces under the op amps from capacitor leakage.
There are several places the audio is generated from. I will cover them below.
The HU6280 is the PC Engine HuCard system, and it generates audio for that part of the system.
The audio comes out of pin 17 (Left) and pin 18 (Right). They travel over the IC506 and connects to the IC506 amp that drives the AV Port Out.
- Right (pin 18) > C879 > R612 (1k) > C6235 > Ground
- Right (pin 18) > C879 > R612 (1k) > R613 (5.1k) > IC506 Right In- (pin 6)
- Left(pin 17) > C878 > R611 (1k) > C6234 > Ground
- Left (pin 17) > C879 > R611 (1k) > R631 (5.1k) > IC506 Left In- (pin 2)
The HuCard through pin 2 sends audio directly through C883 > R616 (3k) which then goes through several places like R613 (5.1k) to the IC506 Right In- pin.
I have not yet tracked back where Super CD audio comes from.
The AV port op amp is a 4558. It is the IC506.
This amp is right before the AV port.
IC506 Left In- (pin 2) goes through several paths:
- R689 (6.8k) > +C613- > IC505 M51131L Volume Balancer Pin 3 OUT1
- Mixing with Right In- via R627 (15k) and R629 (15k)
-
IC506 Right In- (pin 6) goes through several paths:
- R690 (6.8k) > +C614- > IC505 Pin 13 OUT2 which is an Electronic Volume Balancer (M51131L).
- R630 (15k) > Right Audio Out BU4053BCF pin 1 Y1
- Mixing with Left In- via R627 (15k) and R629 (15k)
The IC506 Left In- and Right In- join together through two resistors R627 and R629 and the center of those two resistors taps off and goes to the mono audio output Z0 of the BU4053BCF (pin 5).
IC506 Left In+ (pin 3) and Right In+ (pin 5) goes through three paths:
- +C323- > Ground
- R323 (10k) > +C306- > Ground
- R324 (10k) > Ground
- +C884- (near volume wheel) > Audio Ground (HU6280 pin 20)
The IC506 Left Audio Out comes out (pin 1), joins back to LEFT- (pin 2) through R691 (1.5k), carries on through +C610- > R607 (47k) which pulls to ground. The signal out of C610- then carries on through R610 (1k) > L601 (inductor on top side) > LEFT pin AV port.
Also, a NPN transistor Q604 is connected to the left audio output Collector, and Emitter to ground, so basically pulling the left audio signal to ground, when the Q604 (base) is high.
The IC506 Right Audio Out comes out (pin 7), joins back to RIGHT- (pin 6) through R692 (15k), carries on through +C604- > R604 (47k) which pulls to ground. The signal out of C604- then carries on through R608 (1k) > L602 (inductor on top side) > RIGHT pin AV port.
Also, a NPN transistor Q603 is connected to the right audio output Collector, and Emitter to ground, so basically pulling the left audio signal to ground, when the Q604 (base) is high.
In short, sending Q604 base high will disable left audio by physically sinking the Left audio out on the AV port.
Sending Q603 base high will disable right audio by physically sinking the Right audio out on the AV port.
Both disable signals meet at D601+.
The left audio Q604 (base) goes through R605 (2.2k) through -D601+
The right audio Q603 (base) goes through R606 (2.2k) through -D601+.
The D601+ goes to several sources. The primary one being the PNP transistor Q308.
The PNP transistor Q308 ultimately pulls Q604 (base) and Q603 (base) high disabling audio:
The Q308 (Collector) connects to the D601+.
The Q308 (Emitter) > -D303+ > 5V Output of IC302 > +C310- > Ground keeping the emitter high ready to send it to the collector.
Also, Q308 (Emitter) > +C325- > Ground
So, when the Q308 (base) is low it will turn off audio.
- The Q308 (Base) > R315 (10k) > +D306- > 7V
- The Q308 (Base) > R315 (10k) > +D306- > 5V (IC304 VReg)
So from what I have currently traced, the audio should never turn off unless the 5V and 7V rail are down or traces are damaged.
The headphone port has left and right audio and ground. There is no separate spring switch that disables anything.
The amp by the headphone port sends the audio out to the headphones.
TODO
TODO
As well as turning off the AV Port audio, the headphones are also shorted to ground via the same trigger (Q604 base going high):
- As input to +D602- > R609 (2.2k) > Q608 (base) so Q608 Emitter to ground, Collector through L604 to headphone pin Left, meaning headphone pin sinks to ground at the same time as the AV Port does. Final Headphone output also has resistor R601 (10k) and capacitor C683 to ground.
- As input to +D602- > R624 (2.2k)> Q609 (bas) so Q609 Emitter to ground, Collector through L605 to headphone pin Right, meaning headphone pin sinks to ground at the same time as the AV Port does. Final Headphone output also has resistor R602 (10k) and capacitor C684 to ground
Another amp that receives audio, but I haven't traced yet to where it goes is IC503.
It is a 4558 Op Amp.
Pin Number | Name | Description |
1 | 1OUT | |
2 | 1IN- | Audio In (from BU4053BCF Z pin 4) |
3 | 1IN+ | |
4 | VCC- | Ground |
5 | 2IN+ | |
6 | 2IN- | Audio In (from BU4053BCF Z pin 4) |
7 | 2OUT | |
8 | VCC+ | 7V |
Another amp that receives audio, but I haven't traced yet to where it goes is IC521.
It is a 4558 Op Amp.
Pin Number | Name | Description |
1 | 1OUT | |
2 | 1IN- | Left Audio In (from BU4053BCF Z1 pin 3) |
3 | 1IN+ | |
4 | VCC- | Ground |
5 | 2IN+ | |
6 | 2IN- | Right Audio In (from BU4053BCF Y0 pin 2) |
7 | 2OUT | |
8 | VCC+ | 7V |
Another amp that receives audio, but I haven't traced yet to where it goes is IC203.
It is a 4558 Op Amp.
Pin Number | Name | Description |
1 | 1OUT | Audio Out (from BU4053BCF X pin 14) |
2 | 1IN- | |
3 | 1IN+ | |
4 | VCC- | Ground |
5 | 2IN+ | |
6 | 2IN- | |
7 | 2OUT | Audio Out (from BU4053BCF Y pin 15) |
8 | VCC+ | 7V |
The audio sources come into the BU4053BCF multiplexer.
- X = ?? (Enabled by A)
- Y = Right Audio (Enabled by B)
- Z = Left Audio (Enabled by C)\
All three enable pins are sent high by the NEC D91317GD pin 81.
Pin Number | Name | Description |
1 | Y1 (Out) RIGHT IC506 | R630 (15k) > IC506 pin 6 (AV Port Right Audio In-) |
2 | Y0 (Out) RIGHT IC521 | R625 (15k) > IC521 Pin 6 Right In- R625 (15k) > R626 (15k) > Z1 (Mixing L/R) |
3 | Z1 (Out) LEFT IC521 + Vol Balance | R623 (15k) > R621 (15k) > X0 R623 (15k) > Left In- IC521 Pin 2 R695 (6.8k) > Left Out IC521 Pin 1 R695 (6.8k) > C617 > Volume Balance Left In Pin 2 R626 (15k) > R625 (15k) > Y0 (Mixing L/R) |
4 | Z (In) LEFT IC503 | R655 (8.2k) > C621 > Ground R655 (8.2k) > R654 (8.2k) > -C653+ > R687 (270k) > IC503 pin 6 R655 (8.2k) > R656 (8.2k) > IC503 pin 2 R655 (8.2k) > R656 (8.2k) > C322 back to input Z pin 4 |
5 | Z0 (Out) MONO | Goes to both IC506 Left In- and Right In- through resistors R627 and R629 |
6 | INHIBIT | Ground |
7 | VEE | Ground |
8 | VSS | Ground |
9 | C | C = High turns on Z output Enabled by NEC D91317GD pin 81 |
10 | B | B = High turns on Y output Enabled by NEC D91317GD pin 81 |
11 | A | A = High turns on X output Enabled by NEC D91317GD pin 81 |
12 | X0 | R621 (15k) > Z1 (LEFT IC521 + Vol Balance) |
13 | X1 | R628 (15k) > R689 (6.8k) > IC506 pin 2 (AV Port Left Audio In-) R628 (15k) > R627 (15k) > MONO point going to IC506 Left In- & Right In- |
14 | X | R213 (1.8k) > IC203 pin 1 R213 (1.8k) > then many more places I'm not going into :P |
15 | Y | R212 (1.8k) > IC203 pin 7 R212 (1.8k) > then many more places I'm not going into :P |
16 | VDD | 7V |
The volume balancer is responsible for balancing the audio coming in from IC203 (yet unknown where its input comes from).
It then sends volume controlled audio out to the AV Ports Amp IC506 Right In- and Left In-.
I have yet to track all these pins to where they go.