REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. Fabio
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 17
    • Best 1
    • Controversial 0
    • Groups 0

    Fabio

    @Fabio

    1
    Reputation
    5
    Profile views
    17
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Fabio Unfollow Follow

    Best posts made by Fabio

    • PIDGS - switching logic

      Hello,

      I have an issue with defining/acivating parameter set in PIDGS blok. In manual link text you describe rules for activating parameter set. But I am little bit confussed of it.

      Suppose switching via the vp input. In the end of manual you have parameter thrsha of PIDGS block. There is initial array [0.1 0.2 0.3 0.4 0.5 0], so for ilustration suppose this array of thresholds.

      And now to the issue: in the Function description you write : "The following rules define the active parameter set: the set 0 is active for vp<thrsha(0), the set 1 for thrsha(1)<vp<thrsha(2) etc. till the set 5 for thrsha(5)<vp. The index of the active parameter set is available at the kp output."
      So that thrsha(0) is 0.1, thrsha(1) is 0.2. etc. , right? So what parameter is active when vp is between thrsha(0) and thrsha(1) thus between 0.1 and 0.2?

      In my opinion that should be:

      • Set 0 is active for vp<thrsha(0)
      • Set 1 is active for thrsha(0) vp<thrsha(1)
      • Set 2 is active for thrsha(1) vp<thrsha(2)
      • Set 3 is active for thrsha(2) vp<thrsha(3)
      • Set 4 is active for thrsha(3) vp<thrsha(4)
      • Set 5 is active for thrsha(4) <vp

      Thanks in advance for answer.

      Fabio

      posted in REXYGEN Studio
      F
      Fabio

    Latest posts made by Fabio

    • PIDGS - switching logic

      Hello,

      I have an issue with defining/acivating parameter set in PIDGS blok. In manual link text you describe rules for activating parameter set. But I am little bit confussed of it.

      Suppose switching via the vp input. In the end of manual you have parameter thrsha of PIDGS block. There is initial array [0.1 0.2 0.3 0.4 0.5 0], so for ilustration suppose this array of thresholds.

      And now to the issue: in the Function description you write : "The following rules define the active parameter set: the set 0 is active for vp<thrsha(0), the set 1 for thrsha(1)<vp<thrsha(2) etc. till the set 5 for thrsha(5)<vp. The index of the active parameter set is available at the kp output."
      So that thrsha(0) is 0.1, thrsha(1) is 0.2. etc. , right? So what parameter is active when vp is between thrsha(0) and thrsha(1) thus between 0.1 and 0.2?

      In my opinion that should be:

      • Set 0 is active for vp<thrsha(0)
      • Set 1 is active for thrsha(0) vp<thrsha(1)
      • Set 2 is active for thrsha(1) vp<thrsha(2)
      • Set 3 is active for thrsha(2) vp<thrsha(3)
      • Set 4 is active for thrsha(3) vp<thrsha(4)
      • Set 5 is active for thrsha(4) <vp

      Thanks in advance for answer.

      Fabio

      posted in REXYGEN Studio
      F
      Fabio
    • RE: Blok PWM

      @reitinge
      Máte pravdu, moje chyba, že jsem spoléhal na watch režim.
      Děkuji

      posted in General
      F
      Fabio
    • RE: Blok PWM

      @admin
      Thank you for your message. In future, I will use only English language.

      posted in General
      F
      Fabio
    • Blok PWM

      Dobrý den,

      chtěl bych se zeptat na blok PWM. Manuál jsem četl, ale asi jsem pořádně z toho nedokázal vyvodit, proč se mi děje to co se mi děje.

      Na vstupu bloku PWM mám konstantu CNR v intervalu <0,1>.
      Blok PWM mám nastaven na:
      pertm: 10 s
      dtime: 0.01 s
      btime: 0.01 s
      asyfac : 1
      SYNCH: on
      offtime: 0.1

      Perioda spouštění tasku v Level0 je 0.2 s (0.1*2).

      Problém je ten, že při vstupu u= 0.06 je na výstupu stále OFF, očekával bych 0.6 s ON a 9.4 s OFF.
      Změna nastává až při vstupu CNR=u=0.08, kdy je po dobu 0.8 s výstup ON a 9.2 s OFF. Čím to je, že blok reaguje až na 0.08?
      Dále mě zaráží to, že jsem si zkusil za konstantu CNR zapojit blok GAIN s parametrem 0.6 a PWM blok se stejnými parametry jako předchozí PWM blok a při CNR = 0.08 je tedy na vstupu bloku PWM u = 0.08*0.6 = 0.048 a výstup je po dobu 0.48 ON a zbytek OFF. Jakto, že najednou 0.048 stačí a v předchozím případě 0.06 nestačilo?
      Shrnu-li to:

      • Proč se změna dostaví až pro vstup u = 0.08, když omezení na btime a dtime vstup splňuje?
      • Proč když je na bloku PWM vstup 0.06, tak PWM "nereaguje" a ve druhém případě, kdy je na vstupu bloku 0.048 PWM "reaguje"?

      Děkuji za rady

      posted in General
      F
      Fabio
    • RE: 5V DOUT

      @reitinge

      Šlo by to vyřešit 160 ohm rezistorem v sérii (dle Ohmova zákona bych potřeboval 140 ohm, ale to se nevyrábí) s ventilátorem a klasickým zapojením na 12V (DOUT a PWR OUT)? Tím bych získal přípustný proud v obvodu 50mA a napětí 5V na ventilátoru.
      S DC/DC měniči zkušenost nemám, proto bych volil tuto schůdnější cestu.

      Poznámka: Takže těch 1,67 V jsem naměřil, kvůli úbytku napětí, které způsobil ten vnitřní pull-up rezistor? Já jsem na tento support koukal, ale nikde nebylo napsané to omezení pro nízko-výkonné spotřebiče, proto jsem si naivně myslel, že to půjde.

      Děkuji

      posted in Monarco HAT
      F
      Fabio
    • RE: 5V DOUT

      @reitinge

      Ano. Mám 12V trafo, napojené na +24 IN a GND IN na Monarco.

      posted in Monarco HAT
      F
      Fabio
    • RE: 5V DOUT

      @reitinge
      IMG_20210208_151416.jpg

      IMG_20210208_151647.jpg

      posted in Monarco HAT
      F
      Fabio
    • RE: 5V DOUT

      @reitinge 5V_fan.png

      posted in Monarco HAT
      F
      Fabio
    • 5V DOUT

      Dobrý den,

      chtěl bych se zeptat na zapojení DOUT na 5V?

      Můj ventilátor je na 5V 3pin - odkaz na ventilátor, zkusil jsem jej zapojit na:
      černý kabel-GND
      červený DOUT1.
      žlutý kabel je nezapojen
      Jenže nereaguje ani po použití obrácené logiky v Rexu (použití bloku _NOT), navíc naměřím na svorkách 1,61V a ne 5V.

      Pokud použiji klasické zapojení na 12V:
      černý kabel-DOUT1
      červený PWR OUT,
      tak ventilátor běží a voltmetr ukazuje cca 12V. Bojím se ale, abych jej nezničil.

      Děkuji za radu.

      posted in Monarco HAT
      F
      Fabio
    • RE: Selhání instalace - nenalezené čidlo

      @reitinge

      Již jsem problém vyřešil, problém byl v tom, že jsem napájel pouze Raspberry přes micro-usb, nikoliv Monarco HAT.

      Vše funguje tak, jak má.

      posted in 1-Wire
      F
      Fabio