Firmware makes it work!:
The following information discusses how 2Y's pre-built lambda module works.
The schematic guide for the rest of the DIY 2Y unit can be found here.
The 2Y is a professional product, albeit in DIY kit form.
2Y's performance is due in large measure to compact firmware (written in assembler)
that runs at over 10 MIPS on a 16 MHz Atmel 8/16 bit RISC processor.
Several man-years of work is involved in writing firmware based on the hardware described below.
Tech Edge has done all the hard work for you, and the positive experience
of thousands of users worldwide attests to the quality of that firmware.
Click the image at right to get the lambda module
overlay diagram (with part values and part numbers).
Connector Y1 & Y2 to Main Board's Y6 & Y7The lambda module has two connectors Y1 (on the right) and Y2 (on the left). Y1 mates with Y6 on the main board and Y2 with Y7. The heater current can be an average of several amps for short periods of time, and as the current is switched, instantaneous current can be even higher. Thus the two heavy duty traces HEATG (Heater Ground) and HEAT- (switched heater current) are kept very short, and three pins each are used on Y1 for each circuit. Y1 and Y2 are located beside each other, and combined, have 24 pins in total. There is a 25th pin, at the left end of the combined Y1/Y2 connectir, labelled THERM. THERM carries the thermistor voltage to the MUX (see below). This is shown at the bottom left (beside R22, the 150kΩ resistor) in the overlay mentioned above. |
12-bit DAC, WBlin Buffer, IP Drive, IP SenseThe DAC (Digital to Analog Converter) U9 is a high quality 12-bit DAC with an internal voltage reference. The DAC is used to generate the Ip drive voltage DACA (described below) and the linear wideband voltage DACB, which is buffered by the unity gain op-amp U2A, then passes out of the module as WBVO. The DAC is controlled by the three microprocessor signals LDD, SCK, & MOSI, which are on connector Y2. DACA is buffered by an amplifier circuit built around op-amp U1B, five resistors and three capacitors. This circuit generates the pump current Ip that goes to the sensor pump cell (via the red 62 Ω resistor, then out through the Controller-to-Sensor cable). Pump current across the (red) 62 Ω resistor R17 is accurately sensed by differential amplifier U3B. Both R17 and the calibration resistor (in the sensor's connector) are connected across the sensor's Ip and RCAL points. Thus the sensor may be changed without doing a free-air calibration, but this only gives reasonably good accuracy. A proper free-air calibration is needed for better accuracy. The three signals DACA, IpSENSE & CAL (that is, VGND) go to the MUX (above) and are all used by the microprocessor to calculate the normalised pump current which is used to calculate the digital Lambda value. |