Julian plays with Frequency Division and Multiplication

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • Frequency division using a JK flip-flop and frequency multiplication using a phase locked loop.
    assets.nexperia...
    assets.nexperia...

ความคิดเห็น • 86

  • @templebrown7179
    @templebrown7179 7 ปีที่แล้ว +1

    This is my favorite kind of video from Julian

  • @kensmith5694
    @kensmith5694 7 ปีที่แล้ว +1

    The 4046 is a great part.
    You can double frequency with just an XOR if you have a good square wave.
    You just delay one input with an RC and don't delay the other.
    Briefly on each edge, the inputs will differ making the output go high.
    They make 74HC4046 PLLs too. They are faster but most brands are quite buggy. On one I worked with: The Vc pin controls the frequency well in the mid range but up at Vdd, the frequency jumps sky high.

  • @andreweastland9634
    @andreweastland9634 7 ปีที่แล้ว

    Thank you, I have been struggling to comprehend the calculations in the datasheet for the vfo freq, your video inspired me to just plug it all together and work it out empirically. I now have a nice stable vfo running at the desired freq. Next the low pass filter, I think this s/b a bit easier.

  • @NNNILabs
    @NNNILabs 7 ปีที่แล้ว +1

    I really like these types of videos!
    You should do more of them.

  • @unlost117
    @unlost117 7 ปีที่แล้ว +3

    Thanks. Keep doing these great vids.

  • @w00dyblack
    @w00dyblack 7 ปีที่แล้ว

    cool. Ive used Flip Flops - but Ive never come across a phase locked loop. very interesting, thanks !

  • @UpcycleElectronics
    @UpcycleElectronics 7 ปีที่แล้ว +12

    If you place a JK Flip Flop in water it will grow into a US Politician.

    • @tommyallehamn
      @tommyallehamn 7 ปีที่แล้ว

      Bike Jake
      Is possible IRL in USA? lamo

  • @VoidHalo
    @VoidHalo 6 ปีที่แล้ว

    Actually, I have seen designs for a frequency multiplier that uses a D flip flop on a PLL. If you're interesting, it's included in the example circuits in Paul Falstad's java circuit simulator, also known as circuitmod for the standalone version.

  • @Arnthorg
    @Arnthorg 7 ปีที่แล้ว

    You can also double the frequency by triggering on rising and falling edge with a couple of not gates, a few capacitors and an or gate

    • @unlost117
      @unlost117 7 ปีที่แล้ว

      Can also use rc correctly timed on one input leg of a 2 input xor gate

  • @MrOverlader
    @MrOverlader 7 ปีที่แล้ว

    Yayyy! I really enjoyed your video, as I have this topic on "Digital Electronics" course on univercity. Thank you for video ;)

  • @CornishMiner
    @CornishMiner 7 ปีที่แล้ว

    Ha Ha. I was shouting at you to put that LPF in :D Nice bit of jeopardy making those connections with the power on! Most enjoyable. Best wishes.

  • @asktheprophet
    @asktheprophet 7 ปีที่แล้ว

    Great Videos Julian. I guess I will; be watching them all now :)

  • @neilharrison6410
    @neilharrison6410 7 ปีที่แล้ว

    I love the date codes on the chips you're using!

    • @JulianIlett
      @JulianIlett  7 ปีที่แล้ว

      Yeah, they're quite old!

  • @dalenassar9152
    @dalenassar9152 ปีที่แล้ว

    THANKS for the video...I just wanted to comment on the first part where you did a divide by 2 with the flip flop: THE OUTPUT OF THE FLIP FLOP WILL BE 50% DUTY CYCLE, NO MATER WHAT THE 555 DUTY CYCLE IS.
    PS:
    What does "JK" stand for?

  • @cesargroh5326
    @cesargroh5326 ปีที่แล้ว

    Very interesting Julian, thank you for this explanation. Do you know what's the best way to divide a 5 GHz frequency so it can be measured by a 100 MHz osciloscope?

  • @JurekPrzezdziecki
    @JurekPrzezdziecki 6 ปีที่แล้ว

    Great video. Very informative indeed. Would please make a video about creating a sinewave or triangle wave with di
    gital chips?

  • @blank7921
    @blank7921 7 ปีที่แล้ว

    Did someone forget their new keysight scope review video? Didn't know you owned a scope!

  • @nickpelov
    @nickpelov 6 ปีที่แล้ว

    Nice video, but it would be nice to say what's the purpose of PLL. You could instead use just higher frequency oscillator instead of trying to double the frequency.If you need 2 frequencies is still the same - use higher frequency oscillator and a divider (because it's easier than multiplying).

  • @alfistasubbie
    @alfistasubbie 6 ปีที่แล้ว

    after watching the video, I got inspired and got my hands on these devices. But even after trying to fine tune VCO to lock onto my external clock (15.5KHz from a function generator), I couldnt get it to lock, it always ends up with jitter in the output. I set my offset at 12KHz.

  • @saneeshelectronica9293
    @saneeshelectronica9293 3 ปีที่แล้ว

    hi julian how to do 1.2 times or 1.05 timers of frequency. i wanted use for an encoder 400 hz to make 420 hz

  • @victorchorques4893
    @victorchorques4893 7 ปีที่แล้ว +1

    great video, thanks for sharing

  • @mbaker335
    @mbaker335 7 ปีที่แล้ว +1

    This seems a complicated way of doing the frequency double. The first hit in google gives.. "Differentiate the square wave, full wave rectify and then pass through a Schmidt trigger". The Schmidt trigger is optional. So a resistor, capacitor and four diodes at it's simplest.
    What I like about this video is how there is no automatic reach for a micro controller. As an exercise it can be very educational to take a circuit problem and then use lower and lower tech ways of implementing a solution. Even using no active devices at all.

    • @Ratzfaz
      @Ratzfaz 6 ปีที่แล้ว

      Works only for x2
      With the PLL u can made any X u need. u have only to change the divider. x2 x3 x4 ... x1000...

    • @odissey2
      @odissey2 5 ปีที่แล้ว

      To use this approach the input signal must be exactly 50% duty cycle. In that case after frequency doubling, resulting wave is no longer 50% duty cycle, so no further doubling is possible.

  • @akarshagarwal4516
    @akarshagarwal4516 7 ปีที่แล้ว

    nice video Jullian. would love to see more like these. I think this is the development of the computer on breadboard project hmm.

    • @JulianIlett
      @JulianIlett  7 ปีที่แล้ว

      Thanks Akarsh. I'm still trying to decide how to proceed with the breadboard computer idea. My current thinking is a blinky computer that will only ever blink an LED, but in increasingly sophisticated ways. I'd like the finished design to be an OISC (one instruction set computer).

  • @mbaker335
    @mbaker335 7 ปีที่แล้ว

    The 4046 is just about available but how about showing how the same functionality/circuit can be realized in a cpld such as an epm3032. I have yet to play with a cpld due to work commitments (though I have a dev board) but this looks like a good project for everyone to learn how to use a cpld without having to go the whole hog with a fpga which I believe is a different kettle of fish.

  • @Roy_Tellason
    @Roy_Tellason 5 ปีที่แล้ว

    Now try getting the PLL to work with a non-integer ratio. Maybe a musical interval? Build two of them and you'll have a chord generator... :-)

  • @Brainstorm4300
    @Brainstorm4300 7 ปีที่แล้ว

    Julian, what were you using the ext trigger for? That pll chip brought back memories from telecom lab. Not very pleasant 😂

    • @JulianIlett
      @JulianIlett  7 ปีที่แล้ว

      I was playing with 2 frequency division stages initially - the external input was being used as a third channel.

    • @ricor9358
      @ricor9358 7 ปีที่แล้ว

      Julian Ilett could you tell me the model of that oscope please? Sorry I can't see the model or even the manufacturer on the device

  • @videolabguy
    @videolabguy 7 ปีที่แล้ว

    You never disconnected the pot from the 4046 VCO input when you added the RC loop filter. Was this intentional?

    • @JulianIlett
      @JulianIlett  7 ปีที่แล้ว

      Yeah, I just left it at mid position :)

  • @stevenharpervw
    @stevenharpervw 5 ปีที่แล้ว

    Can you design a circuit with varying input frequency to give four times greater output varying frequency?

    • @JulianIlett
      @JulianIlett  5 ปีที่แล้ว

      Yes, a phase locked loop can do that.

    • @stevenharpervw
      @stevenharpervw 5 ปีที่แล้ว

      Is there a video to it?

  • @TheViewFromUpHere
    @TheViewFromUpHere 7 ปีที่แล้ว

    Happy scope month. What scopes did you look at before getting the Keysight?

    • @KX36
      @KX36 7 ปีที่แล้ว

      Until he got the free scope from Keysight he used a really shit Owon toy scope.
      I don't think he would ever have bought such an expensive scope as a Keysight, so there's not much point asking what similar scopes he might have considered.

    • @mbaker335
      @mbaker335 7 ปีที่แล้ว +1

      The Owon is actually a nice bit of kit especially when fitted with the internal Li Ion battery. I have a Rigol DS1104Z but the ergonomics are horrible compared with the Owon so the Rigol gets a lot less use. The definition of a good scope is the one given a choice (I have 4) which is automatically reached for first. The Owon in my case.

    • @SpeccyMan
      @SpeccyMan 5 ปีที่แล้ว

      @@mbaker335 Yes, sadly some people are quite snobby if they have a pricier scope.

  • @vengug7303
    @vengug7303 3 ปีที่แล้ว

    Hello sir thanks your video and documents please help us for phase shift full bridge pwm for battery charger application. Arduino based

  • @SzDavidHUN
    @SzDavidHUN 7 ปีที่แล้ว

    So we need the double of the frequency to double the frequency. But if we made the double frequency, then what is the point of the phase locked loop? If we need both frequency, then why not just divide it?

    • @JasonMasters
      @JasonMasters 7 ปีที่แล้ว

      If I understand correctly, we actually need to halve the frequency in order to get double the frequency.
      But I guess you're referring to where Julian was adjusting the VCO to be around double the frequency? I think the way that works is that if you don't have a frequency counter or oscilloscope, you can "guess" the correct resistor value and if it's close enough, the PLL will still "lock" correctly.
      I remember having to adjust a PLL for an old computer cassette interface, and the way to do it without a frequency counter (an expensive device in those days) was to put a multimeter across two pins and with a data/program tape playing, adjust the pot until you got the multimeter needle hovering around a certain voltage (I think it was 2.5V but I don't remember for sure). That would set the variable resistance to "close enough". It worked, too.

    • @KX36
      @KX36 7 ปีที่แล้ว +1

      You take a variable frequency oscillator (VCO), half its output frequency and compare* that to a fixed reference clock (555), negative feedback adjusts the F_VCO until F_VCO/2 = F_CLOCK, then F_VCO must be 2x F_CLOCK. Just like opamp action with voltages. You can do this for much larger divisions than half and many instruments (scopes, spectrum analysers etc) use a 10MHz reference clock to generate hundreds of MHz or GHz through a PLL.
      *(in the case of PLL, comparing phase, but you can compare just frequency in a FLL, the difference being the 2 clocks won't necessarily be in phase with each other)

    • @renxula
      @renxula 7 ปีที่แล้ว

      It was a bit unclear. If you have a flip-flop in the loop dividing by two, the PLL output will be double the input frequency. But if you used a counter to divide by 3, 4, or 5, the output would be 3x, 4x, or 5x the input frequency.

    • @vylbird8014
      @vylbird8014 7 ปีที่แล้ว

      Precision! The PLL oscillator doesn't need to be precise. You can get really high frequencies out of an RC oscillator, but precision is maybe 10%. Quartz crystals are super-precise in their frequency, but they can't go above 300MHz. So your computer, for example, uses a PLL to generate the multi-gigahertz clock frequency while keeping it in phase with a precise but much lower frequency quartz oscillator.
      They are also used when a circuit needs to operate in sync with an external clock but at higher frequency, because several internal steps are pipelined.

  • @dmbrv
    @dmbrv 7 ปีที่แล้ว

    loved this video :)

  • @ClaudiupromotionSRL
    @ClaudiupromotionSRL 7 ปีที่แล้ว

    Nice video! I like a lot reverse engineering and I am trying to find the transmittion protocol between a generic parking sensor module for a car from China and his receiver.The communication is made through 3 wire,Ibelive that is serial communication but I don't have an oscilloscope to identify the sequence.I tried with a CH340 usb to serial converter but I cannot identify the baud rate.The module is from China is around 12$. Please help me if you can,it will be a interesting video to watch not only for me.Thank you.

    • @templebrown7179
      @templebrown7179 7 ปีที่แล้ว

      Claudiupro You can buy something like a Bus Pirate to record the output. Do you have a link to the parking sensor?

    • @zerog2000
      @zerog2000 7 ปีที่แล้ว

      You'll want a "logic analyzer" something like Saleae Logic. (Some scopes have logic analyzer functions built in to them, and some logic analyzers now have "scope" functions.)

    • @ClaudiupromotionSRL
      @ClaudiupromotionSRL 7 ปีที่แล้ว

      Eisen Faust Where I Find this Bus Pirate? Here is a link for the parking sensors
      s.aliexpress.com/VZNFva6j

    • @templebrown7179
      @templebrown7179 7 ปีที่แล้ว

      Nevermind the bus pirate or logic analyses. Your sensors are raw 40kHz ultrasonic resonators. Essentially, by themselves they are no different than a high frequency speaker / microphone combo. You have to use support circuitry like in the control unit to use them for distance measurement.

  • @markgreco1962
    @markgreco1962 7 ปีที่แล้ว

    What a great scope

  • @electrifyingelectron9792
    @electrifyingelectron9792 7 ปีที่แล้ว

    Hi, Can you do a Video on VFD Displays? Thanks

  • @Xunder97
    @Xunder97 7 ปีที่แล้ว

    What is the diffrence between Vcc and Vdd? never really even wondered till now...

    • @JulianIlett
      @JulianIlett  7 ปีที่แล้ว

      collector versus drain

  • @rimmersbryggeri
    @rimmersbryggeri 7 ปีที่แล้ว

    IS this an octaver?

  • @littlebiginventor8101
    @littlebiginventor8101 7 ปีที่แล้ว

    You would really help me

  • @littlebiginventor8101
    @littlebiginventor8101 7 ปีที่แล้ว

    Can you please make a video about sending an sms with the arduino yun

    • @donpalmera
      @donpalmera 7 ปีที่แล้ว +1

      Does google not exist in your reality?

    • @joeambly6807
      @joeambly6807 7 ปีที่แล้ว +1

      no, thats not the focus oif this channel. do your own work you lazy bum

  • @GeorgeK356
    @GeorgeK356 7 ปีที่แล้ว

    Julian, appropos your series on the Z80 (8086), I have been pulling some chips from some old equipment and have an NEC (Ireland) SN8255ac-2 Programmable Peripheral Interface going spare if you want it? Datasheet here :- pdf.datasheetcatalog.com/datasheet_pdf/nec/UPD8255AC-2_and_UPD8255AC-5.pdf
    If you want it for a future video just drop me a message and I will post it to you.

    • @JasonMasters
      @JasonMasters 7 ปีที่แล้ว

      If Julian doesn't want it, I'd probably take you up on that offer.

    • @joeambly6807
      @joeambly6807 7 ปีที่แล้ว

      i bet youll sell it on ebay for 15k

    • @GeorgeK356
      @GeorgeK356 7 ปีที่แล้ว

      If Julian doesn't want it I'll keep it for myself, Jason. I just thought it would be a good addition to his Z80 series.

    • @JulianIlett
      @JulianIlett  7 ปีที่แล้ว

      I'm pretty certain I've got a few 8255s in the big box of chips donated by Derek.

    • @GeorgeK356
      @GeorgeK356 7 ปีที่แล้ว

      That's OK Julian. Love your vids BTW, they kept me sane and occupied whilst I was bedridden and paralysed last year. Keep up the good work.

  • @dunnodoyou5666
    @dunnodoyou5666 7 ปีที่แล้ว

    Much much cheaper. At the expense of any country whose population is
    generally complacent with no patience to the point where nothing will
    stop the purchase from China.

  • @hicham3341
    @hicham3341 7 ปีที่แล้ว

    سلام عليك جزاك الله خيرا +++++

  • @zacharytdarmanin1125
    @zacharytdarmanin1125 7 ปีที่แล้ว

    Hello

  • @ibrahimkayani2824
    @ibrahimkayani2824 7 ปีที่แล้ว

    u should look into a t12 kit trust me u need it

    • @unlost117
      @unlost117 7 ปีที่แล้ว

      What is a t12 kit ? Cheers

    • @ibrahimkayani2824
      @ibrahimkayani2824 7 ปีที่แล้ว

      unlost117 it's a cheap 70w solder station kit worth about 20 to 40 bucks

    • @unlost117
      @unlost117 7 ปีที่แล้ว +1

      Ahhh ok I thought it might have been one of those electronic kits with all the chips leds resistors etc already onboard and we just interconnect them. Thanks for reply

    • @joeambly6807
      @joeambly6807 7 ปีที่แล้ว

      those kits are pieces of shit

    • @ibrahimkayani2824
      @ibrahimkayani2824 7 ปีที่แล้ว

      Joe Ambly really i have only heard good things about it but Thanks I don't waste my money

  • @HellTriX
    @HellTriX 7 ปีที่แล้ว

    Like

  • @bzoli5706
    @bzoli5706 7 ปีที่แล้ว

    I liked your videos, even if you had a cheap Owon oscilloscope.
    But since you got a very expensive oscilloscope as a gift, and you always brag with it, you lost my sympathy.
    If you have such a good oscilloscope at least don't humble down it with 100 kHz projects. Your old Owon is also very good for such projects. Do not brag!
    I am sure that noone from your watchers will buy it in the future.