Académique Documents
Professionnel Documents
Culture Documents
Project Description
works based on the principle that one can transmit and receive data or information by
The project can switch on and off individually or simultaneously four different
appliances or gadgets that run on AC electricity wirelessly. In this project, five different
touch tones (dial tones) are generated by a tone generator circuit. Each tone acts as a
modulating signal that will be processed and transmitted by the FM transmitter circuit.
The tone is received by the FM receiver and being decoded by the tone decoder circuit
which then converts that analog data into a digital one. In addition to that, each tone
functions not just a trigger but also a unique identification for every appliance, thus
providing security. Also, once the fifth tone is generated and then transmitted,
The project is built by using locally available electronic devices and components.
51
II. Scope and Limitations
Wireless Switch via Frequency Modulation Radio Technology that can be used to
The project has two features, the individual appliance switching and the
medium.
Triac-based solid state relays are used as a switch for AC lines instead of
electromechanical ones.
LED indicators are added to monitor which appliances are on or which are off.
52
III. Design Procedures
In order to come up with the present and working design, the proponents of the project
1. Brainstorming
This is the initial stage of the process wherein each of the proponents had ideas
that were shared together within the group. This is also the stage wherein the group
engineers were the source of data and information of the proponents. Data such as
parallel projects were gathered from the afore-mentioned sources. All the acquired
knowledge from such sources were combined together in order to come up with a single
and working design prototype of the project. The designs were simulated and then tested
3. Gathering of Materials
After the proponents gathered the sufficient data related and helpful to the project,
buying of electronic devices and components and tools was the next step. All materials
53
4. Construction of the Project
When the design was finally working and all the materials were already available, the
proponents started to finalize the final output. The circuits were put in a printed circuit board
in order to hold the components mechanically and connect them electronically. Several
holes in the chassis were drilled in strategic positions in order to place external components
Several trials were conducted in order to check all the circuits functionality. Also,
possible faults were checked via a multi-meter. Once the desired output was reached, the
6. Documentation
After the design was completed and fully tested, the documentation for the project was
started.
54
IV. Functional Block Diagram
Figure 4.1
Functional Block Diagram
Wireless Switch via Frequency Modulation Radio Technology. The transmitter section is
composed of a keypad, touch-tone generator circuit and the FM transmitter stage. The
Coded Decimal) to decimal converter stage, flip-flops stage, triac-based solid-state relay
When a key is pressed in the keypad, say key 1, a unique touch tone is produced
by the tone generator circuit. This tone becomes a modulating signal which modulates
the higher frequency carrier in the FM transmitter. This tone is transmitted in free space
via a propagating antenna. The transmitter unit is powered with a single 9-V dc battery.
55
The transmitted tone is a sine wave (an analog quantity) since it is a form of sound.
This tone is picked up by the FM receiver unit. The FM receiver then outputs this tone
and feeds it to the tone decoder circuit. The tone decoder circuit decodes what key was
pressed by the user based on the touch-tone that it received. Once decoded, the tone is
converted to its 4-bit binary equivalent. In our example, key 1 is pressed by the user, thus
touch tone 1 is generated and decoded. Since it is tone 1, its 4-bit binary equivalent is
0001. This 4-bit output from the tone decoder circuit is converted back to its decimal
equivalent through the BCD to decimal converter/decoder. The 4-bit will then be a single
bit data. This single bit becomes a trigger for the flip flop unit which toggles the triac-
based solid state relay, thus turning the corresponding appliance connected to it. Once
the key that was used to turn a particular on is pressed again, that appliance turns off,
thats why the word toggle comes into play. All the circuits in the receiver section are
powered with a regulated 5-V power supply while all the appliances connected to it are
All the circuits functionalities and working will be discussed in detailed in the later
56
5. Schematic Diagrams, PCB Foil Patterns and Placement Guides
Transmitter Section:
Figure 5.1
Tone Generator Circuit
57
Figure 5.1 shows the Tone Generator Circuit. The heart of this circuit is the TP5089
is fabricated using ISO-CMOS high density technology and offers low power and wide
the built-in oscillator circuitry. From this frequency are derived 8 different sinusoidal
(DTMF) tones.
The inputs are compatible with a standard 2-of-8 active-low 4x3 matrix keypad and
the keypad entries determine the correct division of the reference frequency by the row
and column counters. D-to-A conversion (digital to analog), using R-2R ladder networks,
results in a staircase approximation of a sinewave with low total distortion (see Figure
5.2).
58
When a particular key is pressed by the user, two single tone (low and high
frequencies) are generated and then mixed together to form a DTMF tone With the use
of inexpensive 3.579545 MHz crystal oscillator as a reference, these tones are generated
Figure 5.2
Typical sine wave outputs a) column tones b) row tones
59
Figure 5.3
Output frequency outputs and deviations
Frequency and amplitude stability over operating voltage and temperature range
pressed by the user. Each DTMF tone is unique which makes it applicable for secured
wireless switching of electrical appliances. The tone output of this circuit is fed to the input
60
FM Transmitter Circuit
Figure 5.4
FM Transmitter Circuit
Figure 5.4 shows the schematic diagram of the FM transmitter circuit. The circuit
uses 2N3904 NPN transistor Q1 which acts as a non-linear device for modulation
purposes. The initial stage of the circuit is composed of R1, C3, C4 and R2 which serve
as a filter stage which blocks the dc component of the input tone signal. RB and RE act
together as biasing elements. The oscillator stage which produces a high frequency
carrier is composed of variable capacitor C8, C7 and coil L1. This oscillator is designed
in such a way that it can generate high frequency range of about 68-85 MHz. The
modulating signal for this FM transmitter will be the generated tones of the tone encoder
circuit. The modulated signal will be radiated as a radio wave in free space via an antenna.
61
Receiver Section:
Figure 5.5
Tone Decoder Circuit
The circuit shown in Figure 5.5 is the Tone-Decoder Circuit. This circuit is capable
of decoding DTMF tones (touch tones) that are received by the FM receiver. According
to its specification sheet provided by California Micro Devices, the CM8870 is a full DTMF
Receiver that integrates both band split filter and decoder functions into a single 18-pin
DIP or SOIC package. Manufactured using CMOS process technology, the CM8870
offers low power consumption (35 mW max) and precise data handling. Its filter section
uses switched capacitor technology for both the high and low group filters and for dial
tone rejection. Its decoder uses digital counting techniques to detect and decode all 16
62
DTMF tone pairs into a 4-bit code. External component count is minimized by provision
of an on-chip differential input amplifier, clock generator, and latched tri-state interface
bus. Minimal external components required include a low-cost 3.579545 MHz color burst
A green LED is added as an indicator that a DTMF signal is being received and
decoded. The output of the CM8870 IC is a 4-bit binary code which corresponds to the
decoded DTMF tone. Say for example, the decoded tone is Tone 1, the 4-bit output will
be 0001. This 4-bit code is also a BCD (Binary-Coded Decimal). This BCD code is
converted to its decimal equivalent using the CD4028 IC which is a BCD to decimal
decoder.
The active-high outputs of the CD4028 IC is fed to 74LS86 Quad 2-Input XOR gate
which is configured as a controlled inverter. This particular circuit of the section makes
switching happens. After the system has been reset, whenever tone 9 is decoded, all
outputs of the four XOR gates will be active high thus turning all flip flops (which will be
63
Flip-Flop Circuit
Figure 5.6
Flip Flop Circuit
Figure 5.6 shows the flip flop circuit which is used for toggling the solid state relay
switch on or off. Four toggle flip flops are utilized. These flip flops are based on CD4013
Dual D-type Flip Flop IC wired in toggle mode. Each output of the preceding circuit is fed
to each input of this circuit. All the Reset pins are tied together and feeding an active
high signal to these pins will reset all the flip flops. Each flip flop changes state on the
positive going of the input pulse. The truth table is shown below:
64
TOGGLE FLIP FLOP TRUTH TABLE
From the truth table presented above, it can be gleaned that each flip flop changes
its outputs (Q) state on the positive going of the input signal (IN/CLK) provided that the
Reset is held low. Once the Reset becomes high, all the Q outputs will be low regardless
of the last state of the inputs. The outputs of the flip flops are fed to the inputs of the solid-
65
Solid-State Relay Switch Circuit
Figure 5.7
Solid State Relay Circuit
Figure 5.7 shows the schematic diagram of the solid-state relay circuit. This circuit
uses a triac as an alternating current switch. This particular semiconductor device has the
characteristic of bidirectional switching thus it fits for AC line switching. Each triac is
particular device is designed for use with a triac interface of logic systems to equipment
powered from AC mains. Its optoisolation is guaranteed for as much as 7.5kV. On the
other hand, the transistors Q1-Q4 are just NPN LED drivers. Each transistor switches a
66
particular LED which then serves as an indicator if a certain AC appliance has been turned
on or off.
Solid state relays are used in the project design because of its bounce less
switching action for it has no moving parts which can be worn out unlike the
electromechanical types.
67
5.2 PCB Diagrams
68
Foil Patterns
Figure 10: PCB Foil Pattern of A) Tone encoder B) FM transmitter C) Tone decoder D) Flip-flop
E) Solid State Relay
69
Placement Guides
Figure 11: Placement Guide of A) Tone encoder B) FM transmitter C) Tone decoder D) Flip-flop
E) Solid State Relay
70
VI. Computational Analysis
The Circuit
Figure 6.1
FM transmitter Circuit Diagram
The goal of this circuit analysis is to identify the dc bias or quiescent points (Q-
DC Equivalent Circuit
Figure 6.2
DC equivalent circuit of FM transmitter circuit
71
In direct current circuit analysis of the circuit, all capacitors will appear as open
circuit. Also, since there are capacitors which are parallel with the coil L1, L1 will also
appear as short. Hence, the dc equivalent circuit will be as shown above in Figure 6.2
IC Q = IB Q = (100 )(169.04 A)
IC Q = 16.90mA
IE Q = IB Q ( + 1) = (100 + 1)(169.04 A)
IE Q = 17.07mA
VE Q = IE Q RE = (17.07mA )(100 )
VE Q = 1.707V
72
Since the transistor is in Common Collector configuration, the output will be taken
at the emitter terminal. Therefore, the quiescent points will be at IE Q = 17.07mA and at
VE Q = 1.707V .
AC Analysis
For the ac analysis of the circuit, the following calculations are performed.
Re = RE RL = 100 50
Re = 33.33
25mV 25mV
r 'e = = = 1.46 = r 'e
IEQ 17.07mA
73
The total input equivalent resistance will be the parallel combination of resistor RB
The common collector amplifier is also an emitter follower circuit thus its maximum
voltage gain is unity. The exact ac voltage gain of the circuit is now
Re 33.33
Av = = = 0.958 = Av
Re + r 'e 33.33 + 1.46
Because of the presence of R1, C3, C4 and R2, the maximum amplitude of the
1 1
Xc 4 = = = 79.58k
2 fC4 2 ( 2000Hz )(1x109 farad )
1 1
Xc3 = = = 1.69
2 fC3 2 ( 2000Hz )( 47 x106 farad )
74
By voltage division rule;
Vs 1Vp
( R
in( total ) ) ( 3.21k )
v in =
2
=
2
= 41.45mV = v in
Rtotal 54.76k
Thus, the effective input signal voltage (modulating signal voltage) appearing at
Finally, the effective ac output power across the antenna load of resistance 50
v e 2 ( 39.71mV )
2
Pout ( ac ) = = = 31.54W
RL 50
Pout ( ac ) = 31.54W
The power of 31.54W will be the radiated power of the FM transmitter circuit.
75
FM-related Parameters Calculations
calculations were done in order to determine the different parameters which are related
to frequency modulation.
The oscillator network that produces a high frequency carrier is composed of C6,
C7, variable capacitor C8 and coil L1. The combination of these devices forms an LC tank
circuit. The high frequency sine wave is fed to the emitter terminal of the transistor Q1 via
a 10pF ceramic capacitor. This signal is combined with the ac emitter voltage in order to
First, the inductance of coil L1 was determined using a formula relating its physical
length,l = 10 mm
turns,N = 5
diameter ,d = 0.25in = 6.35mm
N o A
2 ( 5 )( 4 x10 ) 4 ( 6.35x10 )
2 7 3 2
L= =
l 10 x103
L = 99.49nH 99.5nH
76
The effective capacitance of the tank circuit is then the parallel combination of
Cmin = C7 + C8 min
Cmin = 33pF + 2 pF
Cmin = 35pF
Cmax = C7 + C8max
Cmax = 33pF + 22 pF
Cmax = 55 pF
The maximum and minimum carrier frequencies can now be calculated as follows:
1 1
fcmin = = = 68.03MHz
2 L1Cmax 2 ( 99.5nH )( 55pF )
1 1
fcmax = = = 85.29MHz
2 L1Cmin 2 ( 99.5nH )( 35pF )
The project is tuned at around 78MHz, the capacitor value for this carrier frequency
is
1
78MHz =
2 ( 99.5nH ) C
C 42 pF
77
Now, as simulated using NI Multisim 14, the center frequency is around 78MHz as
Figure 6.3
Center Frequency as viewed using NI Multisim 14
79.116MHz. From these data, the frequency deviation can now be calculated as follows:
= fsig(max) fc = 79116
. MHz 78MHz = 112
. MHz
Or
1.12MHz MHz
kf = = = 19.11
Em ( 41.45mV ) ( 2 ) V
78
The modulation index (also the number of sidebands, N) is given by
. MHz
112
mf = = = 560
fm 2kHz
Or by
BW = 2( + fm ) = 2 (112
. MHz + 2kHz ) = 112
. MHz
Deviation: = 112
. MHz
MHz
FM sensitivity: kf = 19.11
V
79
VII. Troubleshooting Procedure
Transmitter/Receiver
RF Devices communicate through radio signal between the receiver and the
transmitter. If the receiver in the RF device fails to respond to the signal coming from the
transmitter, then there are ways to check where and what the fault is:
Adjust the frequency of the transmitter by adjusting the variable capacitor C8 until it
The signal between the transmitter and the receiver is sent and received via an
antenna. Making sure that both antennas are properly installed, not twisted nor broken,
not being touch by other metallic objects is essential for better functionality.
The circuitry of both transmitter and receiver should be at its best, checking for voltage
shorts, wrong connections and wrong placements of the polarity of the components.
Power Supply
A bad power supply can cause a system failure in one of two ways. First it may not
provide sufficient power to the system at all. Secondly, it may not provide the correct
voltages to the various components or circuitry that it supplies. These are steps in
80
1. Determine if there is any power at all.
Check the power supply button, LED indicators, and if the power supply cord is
Check the circuitry of the power supply, the arrangement and the polarities of each
passive component. Check if there are short and open circuits with the use of multi-
4. Measure the output voltages using a voltmeter and see if the measured voltages
81
VIII. Conclusions and Recommendations
Conclusions:
1. Wireless switching of four appliances can be done with the use of radio frequency;
2. Utilizing DTMF tones is an efficient way for industrial remote control applications;
6. The sensitivity of the receiver and the tone decoder circuit needs to be increased;
Recommendations:
1. Replace the analog modulation (FM) scheme with a digital one in order to provide
2. Modify or change the FM transmitter in such a way that it can radiate more power
for it to cover greater range of operation, that is, add a power amplifier in it;
3. Look for way/s that can be used in order to improve the sensitivity of the tone
4. Add a feedback system so that the user will be notified if a certain action (switching)
is successfully done.
82
IX. Bill of Materials
Bill of Materials
Cost
Section Quantity Particulars
(Php)
1 12-0-12V Transformer 90
1 Rocker Switch 15
5 1N4007 10
1 LM7805 IC 15
83
1 #22 Solid Wire 4
1 Audio Mono-Plug 10
1 9-V Battery 60
1 Antenna 25
1 CD4028 1 of 10 Decoder IC 20
84
4 MOC3041 Optocoupler 192
4 Yellow LED 6
4 AC Socket 40
1 HC-001 Chassis 40
1 AC Chord 75
1 Ferric Chloride 48
Miscellaneous
1 AC Inlet 20
4 6-Pin DIP IC 16
2 14-Pin DIP IC 10
2 16-Pin DIP IC 12
1 18-Pin DIP IC 14
TOTAL 2252.2
85
X. Major Components Description
A keypad is a set of buttons arranged in a block or pad which usually bear digits,
symbols and usually a complete set of alphabetical letters. Keypads are found on many
telephones, combination locks and digital door locks, which require many numeric inputs.
all dual tone multi-frequency (DTMF) pairs required in tone-dialing systems. The tone
filter and digital decoder functions. The filter section uses switched capacitors techniques
for high and low group frequency filters. The decoder uses digital counting techniques to
X.4 CD4028 IC
The CD4028B is a 4-bit BCD to decimal decoder, a 4-bit BCO to octal decoder
with active LOW enable or an 8-output (Y0 to Y7) inverting demultiplexer. The outputs
86
When used as a BCD to decimal decoder a 1-2-4-8 BCD code applied to inputs
A0 to A3 causes the selected output to be HIGH. The other nine outputs will be LOW.
enable pin and outputs Y8 and Y9 are not used. A 1-2-4 BCO code applied to inputs A0
to A2 causes the selected output (Y0 to Y7) to be HIGH. The other seven outputs will be
address inputs and A3 is the data input. Outputs Y8 and Y9 are not used.
referenced to VSS (usually ground). Unused inputs must be connected to VDD, VSS, or
another input.
Each flip-flop has independent data, set, reset, and clock inputs and Q and Q outputs.
These devices can be used for shift register applications, and by connecting Q output
to the data input, for counter and toggle applications. The logic level present at the D
input is transferred to the Q output during the positive-going transition of the clock pulse.
Setting or resetting is independent of the clock and is accomplished by a high level on the
87
X.6 MOC3041 Optoisolator
optically coupled to a monolithic silicon detector performing the function of a Zero Voltage
Crossing bilateral triac driver. They are designed for use with a triac in the interface of
logic systems to equipment powered from AC lines, such as solidstate relays, industrial
The Q4004L4 Triac is a 4-Amp bi-directional solid state switch that is designed for
AC switching and phase control applications such as motor speed and temperature
The 2N3904 is a general purpose NPN BJT which is ideal for small signal
range of about 68-85 MHz. Capacitor C8 is just a variable capacitor which has 2 pins and
has an adjustable capacitance value ranging from 2pF to 22pF. Coil L1 is an air core-
88
XI. Exploded View
1 2
8
5
7
6
9
Figure 11.1
LEGEND: Transmitter Unit
Exploded view of the Transmitter Unit Part
Part Description
#
1 Keypad
2 Antenna
3 Upper Cover
4 Tone Decoder PCB
5 FM Transmitter PCB
6 9-V Battery
7 Power ON Switch
8 Power ON LED Indicator
9 Bottom Cover
89
1
3 4
9
10
5
11 12
13
6
7 14
8 15
90
XII. Construction Pictures
Buying of components.
91
Breadboard simulation of transmitter circuit.
92
Circuit board designing and lay outing.
93
Finished printed circuit boards
94
Planning of the exploded drawing.
95
96