Author Topic: RF Modulation Technique  (Read 2979 times)

0 Members and 1 Guest are viewing this topic.

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
RF Modulation Technique
« on: February 18, 2018, 01:45:36 am »
 Hi,
Does the attachment look like OOK Modulation?

The yellow is digital output from an encoder blue is the RF.

I think its obvious but i'm a beginner i'm just looking for reassurance.

Thanks!
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RF Modulation Technique
« Reply #1 on: February 18, 2018, 01:54:34 am »
RF typically does not have DC component. Where and how this measurement was performed?
Alex
 

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
Re: RF Modulation Technique
« Reply #2 on: February 18, 2018, 02:12:14 am »
Yes, its not the actual RF in the air.

I attached the pcb with an arrow marking where I probed.

Thanks
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RF Modulation Technique
« Reply #3 on: February 18, 2018, 02:13:38 am »
If it is measured referenced to the ground, then yes, it does look like simple OOK.
Alex
 
The following users thanked this post: stern0m1

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
Re: RF Modulation Technique
« Reply #4 on: February 18, 2018, 05:27:30 am »
I think  I'm not probing the right spot.
Are you able to identify where on the pcb I attached previous ly I can probe for a representation of the rf signal?
Thanks
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RF Modulation Technique
« Reply #5 on: February 18, 2018, 05:31:24 am »
I'd draw a schematic. Should not take too long.

But it is 433 MHz, are you sure your scope has enough bandwidth for that?

The pin you are probing is probably close enough. Even though is says XTAL, the device is actually a SAW filter.  And the whole thing is a single transistor oscillator, so it would be OOK or ASK.

Why do you need it?
Alex
 

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
Re: RF Modulation Technique
« Reply #6 on: February 18, 2018, 05:48:46 am »
I'm working on sort of duplicating this transmitter.
My scope is only 100mhz but I thought i should be able to make out at least the modulation technike.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RF Modulation Technique
« Reply #7 on: February 18, 2018, 05:51:53 am »
If you want to duplicate it, draw a schematic.

But it will be something like this:


And you can just assume that it is OOK.
Alex
 
The following users thanked this post: stern0m1

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
Re: RF Modulation Technique
« Reply #8 on: February 18, 2018, 01:14:09 pm »
The encoder is HCS300 which outputs PWM.
I dont understand how PWM can become OOK or FSK which just simple circuitry.
Is there a concept of PWM RF modulation?
Thanks
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11639
  • Country: my
  • reassessing directives...
Re: RF Modulation Technique
« Reply #9 on: February 18, 2018, 01:30:50 pm »
its not PWM, its digital (binary) data. when output is high, the oscillator will output 433MHz signal to antenna indicating binary "1", when output is low, oscillator will be off, no signal (carrier) indicating binary "0". if you want to probe the RF transmission, it maybe on the lowest via (after the white capacitor) which is i think the antenna below (or you should solder in one), but a 100MHz scope will show not much amplitude and you have to be very good at triggering the scope to capture those carrier stable on the monitor, ymmv.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
Re: RF Modulation Technique
« Reply #10 on: February 18, 2018, 01:50:26 pm »
The datasheet for hcs300 states PWM.
 

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 2085
Re: RF Modulation Technique
« Reply #11 on: February 18, 2018, 02:11:59 pm »
It looks like the PWM format given in section 4 of the data sheet - Short pulse is a 0, long pulse is a logic 1. The yellow trace looks like it is the PWM data that is to be modulated on to the RF carrier. Usually, these key-fob type transmitters use the simplest of RF modulation techniques possible - i.e. OOK, the RF carrier is turned on for the high portion of the PWM data signal.
 

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
Re: RF Modulation Technique
« Reply #12 on: February 18, 2018, 07:45:54 pm »
Is it possible that the PWM is being transmitted?
Thanks
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RF Modulation Technique
« Reply #13 on: February 18, 2018, 07:47:15 pm »
PWM is not a modulation (in RF sense). You can transmit PWM signal using OOK modulation. So yes, PWM can be transmitted this way.

This simple transmitter is not capable of transmitting anything other than OOK. You can stop thinking about options right here. If you want to replicate it, focus on the output of the MCU.
Alex
 

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
Re: RF Modulation Technique
« Reply #14 on: February 18, 2018, 07:54:29 pm »
 You cant have rf signals that the width would vary to indicate a 1 or a 0?

Can you share an image  showing PWM being transmitted  as  OOK?
Thanks
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RF Modulation Technique
« Reply #15 on: February 18, 2018, 07:58:29 pm »
Yes, you can vary the duration of ON and OFF states to transmit PWM signal using OOK modulation.

Your original image is good example, given that 100 MHz scope filtered out 433 MHz carrier. Take your pictures and imagine that 433 MHz sine wave is multiplied by the yellow trace.

But in this case it looks like the information is encoded in the pulse with completely discarding the pauses between the pulses. So short pulse is 0, and the long one is 1, or vice versa. Once again, this is not what is commonly understood by PWM.

Correction. It looks like the duration of the interval is actually fixed, and the width of the pulse encodes information. But for the purpose of decoding, you can safely ignore the pauses.

So duplication of this device is going to happen in two stages - get 433 MHz OOK transmitter (plenty on the market already) and duplicate the output of the MCU.
« Last Edit: February 18, 2018, 08:01:52 pm by ataradov »
Alex
 

Offline stern0m1Topic starter

  • Contributor
  • Posts: 44
  • Country: us
Re: RF Modulation Technique
« Reply #16 on: February 18, 2018, 08:05:13 pm »
I thought ook  by definition means on for 1 and off for 0.
I understand from you that changing the thickness for a 1 or 0 is also a form of ook.
Thanks
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11260
  • Country: us
    • Personal site
Re: RF Modulation Technique
« Reply #17 on: February 18, 2018, 08:11:05 pm »
I thought ook  by definition means on for 1 and off for 0.
OOK is just a carrier that is turned on or off. There may be some academic definitions, but they have nothing to do with actual engineering, The way you turn on on and off the carrier transmits the information. And you are free to do it however you like. Most commonly seen  hobby transmitters and receivers just connect raw UART output to the transmitter and input to the receiver and get wireless UART this way without doing any additional encoding.

I understand from you that changing the thickness for a 1 or 0 is also a form of ook.
How you change control (modulation) signal is up to you. In this case someone decided to encode it this way.

Encoding information in a pulse width is probably a bit more robust, since you can filter out pulses that are too long or too short (noise or interference).
« Last Edit: February 18, 2018, 08:25:18 pm by ataradov »
Alex
 
The following users thanked this post: stern0m1

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11639
  • Country: my
  • reassessing directives...
Re: RF Modulation Technique
« Reply #18 on: February 18, 2018, 08:26:15 pm »
I thought ook  by definition means on for 1 and off for 0.
OOK is a concept or method in rf signal modulation transmission, somewhat similar to AM, except instead of analog values in AM (amplitude) OOK is either ON or OFF hence digital. the interpretation whether ON is 1 or 0 is defined by another protocol or encoding method, such as Manchester encoding, or you can make your own encoding protocol, or simply just take it plain raw i suspect like your PWM signal. the receiver end will duplicate this PWM signal as is as its receiving it. but as you dig deeper, there are shortcoming, such as when there is noise coming from outside you'll have nasty PWM coming out of the receiver end. more complex protocol will double or triple check its receiving signal for communication integrity this will include checksum, parity check, signatures ID or data redundancy, fwiw...
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 
The following users thanked this post: stern0m1


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf