Wednesday 14 December 2011

abs

What is abs (anti locking braking system)
Anti-Lock Braking System was designed originally for  aircraft's to shorten the braking distance on short run way like aircraft carriers. It is designed to stop the wheels of a car from locking up, this result in vehicle still having steer-ability when braking because the tires still have grip of the road. This in turn enables the vehicle slow down aswell as steer around the object.



How does ABS work
ABS controlls the pressure automatically in the braking system by increasing or decreasing it, a similar effect to the driver using cadence braking style this pressing the brake and letting go, repeating  pumping of the paddle.
Speed sensor mounted next to the cv joint, this measure if the wheel is locked and  fast or slow the wheel is moving compared to the other 3 wheels.
Then after gathering the result the control module and modulator unit controls the  valve in the hydraulic controls each brake line.
-need the alternater to be working 14.6v to be working or else the abs light somes on
-need the back brake light bulb to be working or the abs will come on aswell


Types of ABS 






1ch = only one sensor at on the back axel controlling RL and RR
3ch= only 1 sensor at the back axel but 2 at the front 
4ch= All 4 wheel has a sensor



Tuesday 13 December 2011

Operational amplifier (OPAMP)

What is a OPAMP
OPAMP is an electronic circuit module  made up of components like transistors, resistors and diodes all into one. Originally, OPAMPS were named because they were used to model the basic mathematical operations add, subtract,integrate and differentiate in analogue computers.






Characteristics of an Ideal OP-AMP
The ideal op-amp has:
-open-loop gain infinite,
-infinite bandwidth
-Infinite input impedances so that no current is drawn
-Zero output impedance so that maximum current is transferred to the load.
-input offset zero
-No thermal drift.




Inverting op-amp
Vin goes to (-) inverting input

Calculate Vout
If Vin =14 ,R1/Rf=15000, Rin=180

the Rf(R1) resistor is counted as a minus
formula is Vout=Vin(-Rf/Rin) 


Vout=14(-15000/180)
Vout=-1166 use 1k2



Non-Inverting op-amp 
Vin going to (+) non inverting input
Calculate Vout
Vin=27, Rf=150000,Rin=390

In a non-inverting op-amp we have to add +1 to Rf/Rin
so Vout=Vin(1+Rf/Rin)

Vout=27(1+150000/390)
Vout=10411 use 10k





oxygen sensor part 2

What does a Oxygen Sensor do
The Oxygen sensor was design to tell the ECU when there is oxygen in the exhaust gas, so the ECU can adjust the mixture close to Lambda 1 (14.7:1) as well as the purpose to protect the catalytic converter (CAT).O2 sensors becomes unresponsive and slow to change voltage after a while,a slow or unresponsive O2 sensor will result in consuming more fuel and a lag in engine performance when accelerate. It is recommended to change them every 60,000-100,000km,some newer cars the engine check light will come on when they need changing. Oxygen Sensor is passive sensor which does not require power to run, most outputs its own voltage.Leaded fuel and non O2 sensor safe silicone gasket makers (If it smells like vinegar it's not O2 safe) will destroy the O2 Sensor.



How it works
Oxygen sensors need to be a500-600 degrees for it to start working (when O2 sennsor is cold its open loop
when 02 sensor is hot n working its close loop).This is why some O2 sensor have 4 wires, they has a heater core to heat them up this brings them up to working condition as soon as possible so the car will function at its  properly.Some have a earth wire directly to EC to stop interference because the voltage is so small a earth wire is to be presise.
-If 02 sensor is not working it goes lean or stuck at a voltage.
-If a air leak in the exhaust pipe before the 02 sensor it  goes lean

0v lean
0.45 ideal voltage
0.9v rich


Types of O2 sensor
- Zirconia
switching type DC volt
-Wideband
5-7 wire  basicly 2 02 sensors together so 2 signal, 2 ground, 2 heaters and a ground

-Titania switching (narrow-band lambda)
Unlike the other 2 this does not create its own voltage instead it changes its resistance




Numbers of O2 sensor in a car.
-Newer cars have 2 O2 sensor, before the CAT (up stream) for the mixture lamda and after the cat (down stream) to make sure if the cat is working.
-V style engine have a O2 sensor per bank so a V12 would have 2 left and 2 right.



Multiplexing and CAN (Controller Area Network)







What is Multiplexing?
A Network
Instead of 1 ECU controlling everything, this system work by having lots of modules (Each module on the network is called a “Node”) all digital communication between modules is connected by a few wires, Modules are connected together in either series or parallel circuits.Signals from sensors and actuators are now manage by modules in different areas but still communicates with the main modules with high1, low1, +12v and ground.This system saves complications with a huge amoung of wires (If 2 wires are found twisted together DO NOT untwist them they are twisted together to cancel out EMI electro magnetic field interference).



Advantages of Multiplexing Network
-Many modules can share information with less wires
-Saves money (to share VSS info with different modules,
would require more wires for each module)
-Provides more features on vehicles
-Saves weight
-Less wires and connections to go bad.
-Easier to trace/replace wire.

Monday 12 December 2011

Airbag



What is a airbag
Airbag (SRS=secondary restrict system (primary is seat belt) is a safety feature in a car to stop the driver/passenger from hitting their head against the wind screen,steering or dash board. Late vehicles comes with multiple airbag this includes curtain airbags for driver,front and back passenger

How it works




How it works is basically a explosion ( of nitrogen gas) happens in the bag and the bag holds the explosion inside this inflates the bag to acts as a force against the force of the driver/passengers moving forward. The curtain airbag works the same, it is hidden in the side pillar.There is capacitors inside the ECU to keep the air bag working  this is so that if something happens to the battery and you have a crash  the air bag still works (disconnect both wires positive and negative of battery the longer the better so the capacitor discharge if need to disable airbag
The passengers seat has a sensor so that the air bag  don't go off  if there's no one in the seat.

For the airbag to work all sensors must be trigger, 2 front shock sensors(normally open switch sensor) in series and 1 in the ECU,all 3 sensor has to close in series. Ones the sensor switch is close it cant be open you have to replace them.


2 Types of Air bag system
mechnical = dont have light
electrical = dash board light 7 seconds until the light goes off


To test airbag
Use a dummy resistor (eg usually2 oh use 2R2ohm not all air bag is 2 ohm ) connect to the wire ,connect the battery and  if  the dash light goes off then you know its the airbag that the fault
or swap the passenger with the driver. (don't ever use a multimeter to check the ohm of the airbag, the airbag will go off.)
yellow/orange colour of loom (not wire) for airbag




Scan tool




What is a scan tool
Scan tool is a electronic tool used to reads what the ECU see, its the cars " live data". We use this if the car check engine light is ON this tells us what the ECU think is wrong with the car so it makes it easier for us to know where to start looking for the fault. But not all faults can be seen by the ECU there for the scan tool  is limited to what it can do eg sometimes the ECU cannot read a faulty TPS so there will be no trouble code.



Example of live data problem
The car owner complains of a lack of power when cruising. The emission at idle look clean. During a road test with the scan tool  recorded the following data.What is wrong?


Predicted  that the fuel filter must have been plugged so the engine doesnt get enough fuel, as shown the O2 sensor reading lean, even though the injector is open for longer and the long term fuel trim i strying to richen up the fuel since the O2 is correctly shown the lean mixture. The clean emissions at idle tells us the O2 is probably works correctly , along with most of the rest of the system.

Manifold absolute pressure (MAP) sensor

What is a MAP sensor
This sensor is use to measure the amount of vacuum in the intake manifold because the amount of intake manifold vacuum is directly related to engine load. The ECU takes this infomation and use it to calculate the correct  amount of fuel to inject, when to ignite (ignition timing retard or advance) and other function.


How it works
In the MAP sensor there is a silicon chip mounted inside a reference chamber.One side of the chip is the reference pressure.This reference pressure is a calibrated pressure,on the otherside is the pressure to bo measured. The silicon chip changes  its resistance with the change in pressure. This change in resistance alters the voltage signal which tells the ECU there was a change in pressure.



Stock map sensor can stand up to MAX 1 bar (15psi) boost

Metal Oxide Field Effect Transistors (MOSFET)

Transistors has at least 3 terminalsis. Voltage/Current to one pair of the terminal changes the current flowing through the other pair of terminals thus used for amplifying or switching electronic signals. 


Metal Oxide Field Effect Transistors (MOSFET)




















MOSFET
-low voltage gain
-high current gain
-very high input impedance
-high output impedance
-low noice generation
-fast switching time
-easily damage by static!!!(USE OF AN ANTI-STRAP IS RECOMMENDED)
-some require an input to turn it "OFF"
-voltage controlled device
-more expancive than BJT

2 Types of mosfet= 'N' channel and 'P' channel

Data sheet



The Linear De-rating Factor, tells you how many watts must be reduce as the temperature increase
example. If the device was operating at 55oC, what would be the max power the device could handle?

(temp needed to operate at) - (normal operating temp) = X
X x (linear derating factor) = Y
(Power Dissipation(PD) - Y = Z <-- this is now the max PD@TC=XoC

55 oC – 25 oC = 30
30 x 0.59 = 17.7
88 – 17.7 = 70.3W – This is now the max PD @ TC = 55 oC.

Bipolar Junction Transistor (BJT)

Transistors has at least 3 terminalsis. Voltage/Current to one pair of the terminal changes the current flowing through the other pair of terminals thus used for amplifying or switching electronic signals. 


Bipolar Junction Transistor (BJT)
Not Pointing iN (NPN)  Point iN Please (PNP) 




Bipolar
-high voltage gain
-low current gain
-low input impedance
-low output impedance
-medium noise generation
-medium switching time
-robust
-requires zero input to turn it "OFF"
-current controlled device
-cheap



BJT as a switch.
To work out RB in this type of circuit

Calculate the the resistor needed for Rb
If Vcc=14, VBB = 5 volts, Rc=150,Beta= 55, Vce= .5 volts



We first need to get Ic, this is done by dividing Vsupply (Vcc) by Rc, do not forget to minus Vce 
So:Ic= (Vs-Vce)/Rc
Then we use the beta formula :
 Ic=Beta x Ib,
 we to transpose this formula to get Ib
Once we have Ib we can use it to calculate Rb by dividing VBB by Ib, do not forget to minus Vbe :

Rb=(VBB-Vbe)/Ib


Ic=(14-0.5)/0.09
Ic=0.09A


Ib=0.09/55
Ib=0.00163A


Rb=(5-0.7)/0.00163
Rb=2638 use 2700




Fault finding a BJT








Wednesday 2 November 2011

Diode and Zeners

Diode
The function of a diode is to let electrical current flow only in one direction, in a circuit is to stop electrical current from flowing in the wrong direction. Thus diode can be put in place to protect other component from back emf happening.



IMPORTANT: As you can see in the graph below, too much forward current and the diode may be damaged and conduct in both directions. Too much reverse voltage will damage the diode and cause it to conduct in the wrong direction.


If you look closely at VF the diode doesn't start conducting until 0.6-0.7v this is known as the knee voltage, so when calculating voltage after the diode, voltage suplied(vs) - (vd) voltage diode 12-0.7=11.3v

Data Sheet infomation
what to look for so you dont blow the diode
Peak Inverse Voltage: This represents the maximum reverse voltage that can be
applied before the diode breaks down.
Maximum DC forward Current:This is the maximum recommend forward current, if the current exceed the rating it will destroy the diode.





What is a Zener diode
A zener diode is  a  special kind of diode that if voltage is apply in the reverse bias it acts as a voltage regulator, so input might be 12v but the output of the end result would be eg 9.1v if you use 9v1


zener diodes are typically available in the following voltages: 2.4, 2.7, 3, 3.3, 3.6, 3.9, 4.3, 4.7, 5.1, 5.6, 6.2, 6.8, 7.5, 8.2, 9.1, 10, 11, 12, 13, 15, 18, 20, 22..., and in 300mW, 500mW, 1.3W, 2W, 3.25W, and 5W rated packages.

























How to use
To use the zener diode, the diode has to be in parallel with the zener as above in the picture



To work out Zener diode resistor


If Vs=10, Vz=5v1, Iz max= 0.06, RL=470
I=V/R
Rs=Vs min-Vz/Iz min

I=5/470=0.01063A
Rs=(10-5)/0.01063=470



Breakdown voltage
 Breakdown voltage of a zener is  the maximum reverse voltage the zener can handle until it stops working like it should. eg 9.1v  but only a small amount of current can be pass through it eg 1A a resistor is put in series to prevent this.
This is why we use a zener diode for, so that no more than eg 9.1v can be pass through in the reverse bias to protect components 

Forward bias region
This is the region voltage is passing through the zener diode in forward bias anode to cathode.this work just like a normal diode.

Knee voltage
This is the region in the forward bias before it reaches the working voltage of 0.7V.

Wednesday 12 October 2011

power circuit

     Circuit diagram 



           A component list
     2x1n4007 Diode
     2x capasitor 33mF  
     1xZener diode 
     1x voltage regulator LM317
     1xR1
     1xR2
     1xR3
     1xLED
1x PC Boards Vero Type Strip



Calculations
           Calculate the values of R3,R2
           Vref=1.25 
           Vout=5v
           Use Vout=Vref (1+R3/R2)

               5 = 1.25(1+R3/R2)
       5/1.25 = 1+R3/R2
               4 = 1+R3/R2
          4 - 1 = R3/R2
               3 =  R3/R2
             R3 = 3 x R2

This mean that R3 is 3 times bigger than R2, So we were given 330R for R2 and 1K resistor for R3.

For R1: LED resistor
    R1 =   (VS - VL) / I
    R1 =  (5-2.1)/30
    R1 = 100 R


Lockmaster



      A Technical Explanation 
     This is a normal voltage regulation circuit. As the raw 12V is presented into the circuit, it goes through the diode (These diodes 1N4001 is to  prevent back EMF) using  0.7V so 11.3V goes into the regulator  (The regulator is a LM317T) which is then stepped down to 5V. C1 and C2 are 33 mF , the capacitors job is to  provide stability in the output voltage .The 2 zener is a 2V2 zener. . The R1 100R with the LED is a indicator to tell if there is voltage going through the circuit. R2 is 330 R and R3 is 1 K, R2 and R3 are used to determine how much voltage output will be. 





      Test Procedure 
 12V to the input  and out put should be 12v on the red wire and 5v on the yellow wire and black to ground (negative)


      Reflection 
I wouldn't do anything different if i was to build the circuit again. as my circuit worked  first time, so i dont see how i could make a different. 
   

      Finish result





Monday 10 October 2011

oscilloscope

how to set up a oscilloscope

DC=button in 
AC=button out

set up where you want the y axis and x axis. im using dc so my y axis is all the way down there.right now the reading is 0v dc.

 power supply 5.7v dc

5.7v dc going through it



to tune the y axis to go up by 1 or 2.......


to tune the time/div
1sec dev per square on x-axis 



ch1 and ch 2 together by pressing the ALT  button


Tuesday 16 August 2011

Injector circuit

 Circuit diagram

A component list 
2 X 330R
2 X 1K3

Calculations 
To work out what resistor to use with LED
Rs=(Vs-Vled)/IIed
Rs=(12v-2v)/0.035A (35mA)
Rs=285ohm closes to E12 group resistor is 330R

To work out what resistor to use with transistor
Beta=IC/IB
IB=0.035/110
IB=0.000318  (0.3mA)

Rb= (V-Vtrans)/I base trans
Rb=(5v-0.7v)/0.000318
Rb=13,314 ohm closes to E12 group resistor is 15K




Lochmaster



 A Technical Explanation of how the circuit works.
What this circuit does is convert a 5v E.C.U signal to 12v to power a 12v component eg injector.In other words  it uses the 5v to switch to 12v

In more details 12v is the main power supply (red + and black -lead) this 12 volt passes through the resistor ,led and onto the collector.
Negative is hooked up to black and 5v is then hooked up to the yellow or white lead this connects to the transistor base  which in turn when 5v is pass through the transistor acts like a switch and enable 12v to pass through to the emitter.


 Test Procedure
Both led should be off when hooking it up to 12v but when 5v is pass through one of the signal leads one of the led should light up.


The avalible voltage to collector
Same as Vce.
This is a good result, ideal should be 0v but this is very near. datasheet says 0.5 saturated Vce

 The avalible voltage to base

voltage at emitter

Problems
The circuit did not work the first time. This was trace to a faulty transistors. when test with a diode tester base and emitter displayed O.L both ways this indicates that there is a open circuit in the transistor.





Reflection  
If i was to do it again i would test all the components first .
Also made sure i was drilling the right spot before drilling, i auctily drilled a row across and when i went to put all my components in one of the legs had no copper connection to solder to. i solve this by bending the legs across.

Finish result