Thursday, January 28, 2010
The schematic diagram shown is that of an encoder for a transmitter.
-first two transistors form a free running multivibrator(flip-flop). Q1 is On and Q2 is Off and vice versa. There is a duty cycle of about 20 milliseconds(MS). Subsequent transistors are timer circuits triggered by the previous Q(Q=transistor). The 5k POT sets the delay when to fire the next Q. When the timer Q turns on, it send a .25MS pulse to shut off the carrier wave of an RF generator.
-So, the TX send a frame of .25MS pulses to clock a decoder at the RX. This schemactic diagram is for a 2 channel system. The three diodes send three pulses and the space between pulses is the time a channel port in the decoder remains on which the servo recognizes and positions itself.
To add more channels, add more timer Qs.
-first two transistors form a free running multivibrator(flip-flop). Q1 is On and Q2 is Off and vice versa. There is a duty cycle of about 20 milliseconds(MS). Subsequent transistors are timer circuits triggered by the previous Q(Q=transistor). The 5k POT sets the delay when to fire the next Q. When the timer Q turns on, it send a .25MS pulse to shut off the carrier wave of an RF generator.
-So, the TX send a frame of .25MS pulses to clock a decoder at the RX. This schemactic diagram is for a 2 channel system. The three diodes send three pulses and the space between pulses is the time a channel port in the decoder remains on which the servo recognizes and positions itself.
To add more channels, add more timer Qs.
Wednesday, December 2, 2009
Battery Charging
I will discuss charging Nicasds and Metal Hydrides
Both batteries have nominal voltages of 1.2V but when fully charged(peaked), the V goes to 1.4V. Thus a flight pack of 4 cells should have a voltage of 5.6V when freshly charged. the voltage drops suddenly when the V reaches 1.1V. Thus 4.4V is a critical level.
How to charge them
In technospeak, C is charging rate. Thus a charger is known to have percentC charging rate. A .10C means the charging rate is 10% of capacity(less the hr). The safest charging rate is .10 C. for example, if the pack is a 1000mah pack, the charging rate at 10% is 100ma. For a fully discharge pack, the time to restore the battery to full charge is 15 hours. It means 50% more is inserted into the battery to charge it.(15 hoursx100ma is 1500 mah). .10 is also called C10.
The enemy of the battery is high temperature. As the C rate goes up, heat build up goes up. And it is really bad to leave a battery under charge beyond the time needed at high C rates. The safest is the .10C charger.
Most of the radio sold in the market with batteries come with a 500 mah packl. And the call charger is usually a .10C charger. (You might say charger for dummies who will surely forget to unplus the charger after 15 hours.) . One other good reason why a .10C charger is used is because the pack is not really depleted before it is recharged. So, the 10C charger is safe.
Modern chargers with peak detection allows us to plug in the charger and batt anytime without worry. It dos not matter how much charge was there at the start.
We can make a very simple rugged charger like the ones used on RC cars charging a fully discharged pack. Usually, there was a 15 mins timer in those charger. Tose chargers were as high a 3C chargers.
15 mins RC chargers are no longer in voque but once in while, there is a need to make a simple rugged charger to charge metal hydrides used in model planes. Normally 7-8 cells are used. The peaked voltage os 8 cells is 8 x 1.4 or 11.2V. We can charge them in series from the car battery.
A simple rule of thumb is to charge it at 50% more opf capacity. If we use a charger that is 1C, we need a timer for 1.5 hours. or if we charge it at 1.5C, we charge it for 1 hour. The formula is rate x time = 1.5 x capacity.
For example, for a 1000 mah pack, we can charge at 1.5 amps (1500 ma) for one hour. If we want it for 30 mins, then we double the rate to 3 amps.
A good good guideline is to decide on how many packs one can afford in the field and use the longest time to charge acceptable. for example, using 4 packs, each pack lasting 10 minutes, with a rest in between. When the first pack is used, the nest 3 packs is good for 30 minutes plus rest time of 30 minutes. Then a 1 hour charger is good.
Can we charge more than 8 cells from the 12V car battery. Well, yes. Say for a 10 cell pack, we break them up into 5 cell packs. We charge them as parallel packs. After they are charged, they can be plugged together in series. Only one timer has to be used and there is no need for two chargers really.
Current is the critical parameter. The charger voltage has to be higher than the peak V of the pack. Current is calibrated using resistors in series with the right wattage.
BK
I will discuss charging Nicasds and Metal Hydrides
Both batteries have nominal voltages of 1.2V but when fully charged(peaked), the V goes to 1.4V. Thus a flight pack of 4 cells should have a voltage of 5.6V when freshly charged. the voltage drops suddenly when the V reaches 1.1V. Thus 4.4V is a critical level.
How to charge them
In technospeak, C is charging rate. Thus a charger is known to have percentC charging rate. A .10C means the charging rate is 10% of capacity(less the hr). The safest charging rate is .10 C. for example, if the pack is a 1000mah pack, the charging rate at 10% is 100ma. For a fully discharge pack, the time to restore the battery to full charge is 15 hours. It means 50% more is inserted into the battery to charge it.(15 hoursx100ma is 1500 mah). .10 is also called C10.
The enemy of the battery is high temperature. As the C rate goes up, heat build up goes up. And it is really bad to leave a battery under charge beyond the time needed at high C rates. The safest is the .10C charger.
Most of the radio sold in the market with batteries come with a 500 mah packl. And the call charger is usually a .10C charger. (You might say charger for dummies who will surely forget to unplus the charger after 15 hours.) . One other good reason why a .10C charger is used is because the pack is not really depleted before it is recharged. So, the 10C charger is safe.
Modern chargers with peak detection allows us to plug in the charger and batt anytime without worry. It dos not matter how much charge was there at the start.
We can make a very simple rugged charger like the ones used on RC cars charging a fully discharged pack. Usually, there was a 15 mins timer in those charger. Tose chargers were as high a 3C chargers.
15 mins RC chargers are no longer in voque but once in while, there is a need to make a simple rugged charger to charge metal hydrides used in model planes. Normally 7-8 cells are used. The peaked voltage os 8 cells is 8 x 1.4 or 11.2V. We can charge them in series from the car battery.
A simple rule of thumb is to charge it at 50% more opf capacity. If we use a charger that is 1C, we need a timer for 1.5 hours. or if we charge it at 1.5C, we charge it for 1 hour. The formula is rate x time = 1.5 x capacity.
For example, for a 1000 mah pack, we can charge at 1.5 amps (1500 ma) for one hour. If we want it for 30 mins, then we double the rate to 3 amps.
A good good guideline is to decide on how many packs one can afford in the field and use the longest time to charge acceptable. for example, using 4 packs, each pack lasting 10 minutes, with a rest in between. When the first pack is used, the nest 3 packs is good for 30 minutes plus rest time of 30 minutes. Then a 1 hour charger is good.
Can we charge more than 8 cells from the 12V car battery. Well, yes. Say for a 10 cell pack, we break them up into 5 cell packs. We charge them as parallel packs. After they are charged, they can be plugged together in series. Only one timer has to be used and there is no need for two chargers really.
Current is the critical parameter. The charger voltage has to be higher than the peak V of the pack. Current is calibrated using resistors in series with the right wattage.
BK
Wednesday, August 5, 2009
Tuesday, July 7, 2009
RC RADIO
July 7, 2009
Don Mathers and Dough Spreng developed the truly proportional system still in use today. Different modes of modulation were later introduced (FM) other than AM, PCM was introduced, but still, it is the Mathers/Spreng servo at work at the end. Even digital servos still use the system.
AM to FM. This is often confused, many thinking that we have to go FM once we are on the upper band. No, in fact, there were FMs on 27Mhz. FM is a modulation form to transmit information. It does not change the the Mathers/Spreng system in positioning the servo. In AM, the strength of the signal is varied to send info. In fact, in RC, the carrier wave(CW) is momentarily shut off to represent a signal. This is also practical since no extra power is use to send a short pulse. The receiver takes care of recognizing the blank and convert it to an ON signal at its output. In both AM and FM, a very short trigger pulse (.25MS) is sent at intervals. The intervals represent the time a port is ON at the decoder, which sets the servo position. This is called Pulse Width Modulation(PWM). PCM which stands for Pulse Code Modulation can be viewed by the layman as also a modulation form. Instead of the short pulse sent, the TX actually sends a binary code to the RX. The RX has a CPU which produces the command pulse for a servo (from 1 MS to 2 MS). In PWM, the TX sends the ON/OFF commands to several servos in sequence. Thus, usually,it can only send about 60 commands to each servo per second. In PCM, in as long as there is no new command from the TX, the RX keeps generating the same pulse width. So, an interference on the signal does not mean anything to the RX since it is unintelligible to it. PCM today is usually on FM. It remains a very good system against interference. But it should not be confused as to what the spread spectrum (SS) is doing. In PCM, The system is very good against unintellgible interference. But another TX on the same channel can of course interfere with one's RX. The spread spectrum takes care of this aspect. In frequency hopping (FHSS) for example, the signal is rotated among different spot channels and the sequence of the combination code is locked between the TX and the RX (called binding), and there are thousands of combinations possible, thus probability for two radios using the same code is very low. So, the SS is not an improvement on the modulation. It is an improvement on the use of frequency space. It could well be that PCM is used and transmitted the SS way on 2.4Gig. The 2.4G is just coincidental that the FCC opened up this band for wireless communication. Again, it could well be that SS were used at 72-75 Megs, or even 27 megs.
What is the Mathers/Spreng system?
Well, the best way to appreciate it is to look at the servo. In a way, this was the heart of their invention. Before them, the servo was analog. A motor is geared down to developed torque and there was a feedback pot on the final shaft. In the analog system, the pot adjusted the bias on a transistor. When an increased/decreased drive voltage turns ON/Off the transistor, the pot counters the move(opposite wise). So, the changed is canceled by the changed in the transistor bias controlled by the pot. The problem of the analog servo was delayed reaction, non-proportionality and overshoot, among others perhaps. You see, the voltage level moving was purely analog, meaning, it was on a curved path. There must be something discrete like On then OFF but sent continously and when a change is introduced, the interval between the ON/Off is changed.
The concept was an incoming pulse with a width from 1 MS to 2MS. A local pulse is also started by the incoming pulse but is inverted (positive incoming and negative local pulse). When one is longer than the other, a residual pulse remains. TX sends the trigger pulses which the decoder vonvrts to a positive pulse of a duration. The TX sends the trigger pulses on a stream (repeated). When the residual pulse is positive, the motor is turned one way. When the residual pulse is negative, the motor is turned the other way. Now, a pot (normally 5k today) is again, attached to the final output shaft of the servo and controls the width of the local pulse. It is wired so that the width of the local pulse matches that of the incoming pulse as the pot is turned which then stops the motor. By that time, the servo horn is at a different position.
How is the command pulse created?
It is created at the decoder. The TX sends two short pulses that we can call trigger pulses(.25MS). This is not the servo command pulse. It is the signal for a decoder to turn a port ON on the firsts pulse and OFF at the second pulse. This port is the servo channel port. In a hypothetical single channel system, the TX will just keep sending two trigger pulses with intervals controlled by a joystick. And since the max interval is 2 MS and there are 1000 MS in one second, the TX can send 500 command pulses per second to 1000 command pulses when the delay is at 1MS. But all of this changes when more than one channel is sent. First, the OFF trigger pulse of the fist channel can be made to be the ON trigger pulse of the second channel. Thus, only three trigger pulses are needed to create two command pulses at the decoder. However, to make sure that the first trigger pulse turns on the first port, a long inverval called a pause is introduced in the stram of trigger pulses. This must be at least twice the longest interval which is 2MS, thus 4MS. So, in a 2 channel system, the max intervals is 2x 2MS plus the 4 MS for a total of 8MS. Thus, a system can be designed to send 1000MS/8MS commands per second. A set of command pulses for the two servos is called a frame. That will be 150 frames per second. Mind you fellow modellers, if you are using an 8 channel TX and RX to control only two servos, the resolution is wasted.
PCM
Perhaps the above will make us appreciate PCM more. In PCM, the above computation becomes irrelevant.The TX in a PCM does not send pulses on merry go around such that we add all the intervals which becomes longer the more the servo channels. In PCM, it is like sending the juke box a number for a record to play and you do it only once. In PCM, the TX tells the RX-CPU to generate a pulse for a given channel only once until you had moved that joystick for a new command. There is no stream of commands to a set of servos. In PWM (or PPM), a cut in the stream sends the servos chattering. In PCM, a cut in the transmission is merel;y recognized as silence and does not mean much to the RX-CPU which is waiting only for intelligible commands to shift the pulse widths to a set of servos. PCM is truly intereference proof but not from same channel TX. That is where the SS comes in. By the way, PCM was not developed for the RC industry. It was developed for general communications works but was particularly used to send commands to the Mars probe and to send images from the Mars probe to Earth.
A short explanation of
Spread Spectrum
Let say we have 3 channels only on 72 MHZ. The way to allow more that 3 TX to be used at the same time is to make a system wherein the TX hops channels. Let us call the channels A,B, and C. Tx1 will hop ABC,TX2 ACB, TX3 BAC, TX4BCA, TX5CAB,TX6CBA. This of course is a very simplified semblance on the principle used. The pattern that the TX will adopt is copied into the RX when they are bounded(binding). Thus it is nearly impossible for two systems to cross.
The 2.4Ghz band is very high frequency of course and is not limited to RC. Wireless phones, cell phones and other services are in this band. The antenna is very short indeed as the wavelength of the signal is 300/2400 or just .125 meter or 1.25 CM. The problem at this frequency, are wires around the antenna such as servo extension cables which robs the RX of range. And that is one reason 2.4's suffer momentary cut offs. SS is good but the band gives this problem. One remedy is to wrap the extension cables around a ferrite ring.
To follow is a detailed explanation of the "hardware" of a typical TX and RX with decoder. Complete circuitry will be explained.
BK
Don Mathers and Dough Spreng developed the truly proportional system still in use today. Different modes of modulation were later introduced (FM) other than AM, PCM was introduced, but still, it is the Mathers/Spreng servo at work at the end. Even digital servos still use the system.
AM to FM. This is often confused, many thinking that we have to go FM once we are on the upper band. No, in fact, there were FMs on 27Mhz. FM is a modulation form to transmit information. It does not change the the Mathers/Spreng system in positioning the servo. In AM, the strength of the signal is varied to send info. In fact, in RC, the carrier wave(CW) is momentarily shut off to represent a signal. This is also practical since no extra power is use to send a short pulse. The receiver takes care of recognizing the blank and convert it to an ON signal at its output. In both AM and FM, a very short trigger pulse (.25MS) is sent at intervals. The intervals represent the time a port is ON at the decoder, which sets the servo position. This is called Pulse Width Modulation(PWM). PCM which stands for Pulse Code Modulation can be viewed by the layman as also a modulation form. Instead of the short pulse sent, the TX actually sends a binary code to the RX. The RX has a CPU which produces the command pulse for a servo (from 1 MS to 2 MS). In PWM, the TX sends the ON/OFF commands to several servos in sequence. Thus, usually,it can only send about 60 commands to each servo per second. In PCM, in as long as there is no new command from the TX, the RX keeps generating the same pulse width. So, an interference on the signal does not mean anything to the RX since it is unintelligible to it. PCM today is usually on FM. It remains a very good system against interference. But it should not be confused as to what the spread spectrum (SS) is doing. In PCM, The system is very good against unintellgible interference. But another TX on the same channel can of course interfere with one's RX. The spread spectrum takes care of this aspect. In frequency hopping (FHSS) for example, the signal is rotated among different spot channels and the sequence of the combination code is locked between the TX and the RX (called binding), and there are thousands of combinations possible, thus probability for two radios using the same code is very low. So, the SS is not an improvement on the modulation. It is an improvement on the use of frequency space. It could well be that PCM is used and transmitted the SS way on 2.4Gig. The 2.4G is just coincidental that the FCC opened up this band for wireless communication. Again, it could well be that SS were used at 72-75 Megs, or even 27 megs.
What is the Mathers/Spreng system?
Well, the best way to appreciate it is to look at the servo. In a way, this was the heart of their invention. Before them, the servo was analog. A motor is geared down to developed torque and there was a feedback pot on the final shaft. In the analog system, the pot adjusted the bias on a transistor. When an increased/decreased drive voltage turns ON/Off the transistor, the pot counters the move(opposite wise). So, the changed is canceled by the changed in the transistor bias controlled by the pot. The problem of the analog servo was delayed reaction, non-proportionality and overshoot, among others perhaps. You see, the voltage level moving was purely analog, meaning, it was on a curved path. There must be something discrete like On then OFF but sent continously and when a change is introduced, the interval between the ON/Off is changed.
The concept was an incoming pulse with a width from 1 MS to 2MS. A local pulse is also started by the incoming pulse but is inverted (positive incoming and negative local pulse). When one is longer than the other, a residual pulse remains. TX sends the trigger pulses which the decoder vonvrts to a positive pulse of a duration. The TX sends the trigger pulses on a stream (repeated). When the residual pulse is positive, the motor is turned one way. When the residual pulse is negative, the motor is turned the other way. Now, a pot (normally 5k today) is again, attached to the final output shaft of the servo and controls the width of the local pulse. It is wired so that the width of the local pulse matches that of the incoming pulse as the pot is turned which then stops the motor. By that time, the servo horn is at a different position.
How is the command pulse created?
It is created at the decoder. The TX sends two short pulses that we can call trigger pulses(.25MS). This is not the servo command pulse. It is the signal for a decoder to turn a port ON on the firsts pulse and OFF at the second pulse. This port is the servo channel port. In a hypothetical single channel system, the TX will just keep sending two trigger pulses with intervals controlled by a joystick. And since the max interval is 2 MS and there are 1000 MS in one second, the TX can send 500 command pulses per second to 1000 command pulses when the delay is at 1MS. But all of this changes when more than one channel is sent. First, the OFF trigger pulse of the fist channel can be made to be the ON trigger pulse of the second channel. Thus, only three trigger pulses are needed to create two command pulses at the decoder. However, to make sure that the first trigger pulse turns on the first port, a long inverval called a pause is introduced in the stram of trigger pulses. This must be at least twice the longest interval which is 2MS, thus 4MS. So, in a 2 channel system, the max intervals is 2x 2MS plus the 4 MS for a total of 8MS. Thus, a system can be designed to send 1000MS/8MS commands per second. A set of command pulses for the two servos is called a frame. That will be 150 frames per second. Mind you fellow modellers, if you are using an 8 channel TX and RX to control only two servos, the resolution is wasted.
PCM
Perhaps the above will make us appreciate PCM more. In PCM, the above computation becomes irrelevant.The TX in a PCM does not send pulses on merry go around such that we add all the intervals which becomes longer the more the servo channels. In PCM, it is like sending the juke box a number for a record to play and you do it only once. In PCM, the TX tells the RX-CPU to generate a pulse for a given channel only once until you had moved that joystick for a new command. There is no stream of commands to a set of servos. In PWM (or PPM), a cut in the stream sends the servos chattering. In PCM, a cut in the transmission is merel;y recognized as silence and does not mean much to the RX-CPU which is waiting only for intelligible commands to shift the pulse widths to a set of servos. PCM is truly intereference proof but not from same channel TX. That is where the SS comes in. By the way, PCM was not developed for the RC industry. It was developed for general communications works but was particularly used to send commands to the Mars probe and to send images from the Mars probe to Earth.
A short explanation of
Spread Spectrum
Let say we have 3 channels only on 72 MHZ. The way to allow more that 3 TX to be used at the same time is to make a system wherein the TX hops channels. Let us call the channels A,B, and C. Tx1 will hop ABC,TX2 ACB, TX3 BAC, TX4BCA, TX5CAB,TX6CBA. This of course is a very simplified semblance on the principle used. The pattern that the TX will adopt is copied into the RX when they are bounded(binding). Thus it is nearly impossible for two systems to cross.
The 2.4Ghz band is very high frequency of course and is not limited to RC. Wireless phones, cell phones and other services are in this band. The antenna is very short indeed as the wavelength of the signal is 300/2400 or just .125 meter or 1.25 CM. The problem at this frequency, are wires around the antenna such as servo extension cables which robs the RX of range. And that is one reason 2.4's suffer momentary cut offs. SS is good but the band gives this problem. One remedy is to wrap the extension cables around a ferrite ring.
To follow is a detailed explanation of the "hardware" of a typical TX and RX with decoder. Complete circuitry will be explained.
BK
Subscribe to:
Posts (Atom)
