Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Understanding Design of Horning Dimmer

  1. #1

    Default Understanding Design of Horning Dimmer

    Sorry, I have briefly looked through the posting, do not see the details that concern me with design of Horning Dimmer. Hope someone can help…

    I am reviewing a schematic of the Horning Dimmer on Feb 22, 2006 for Olsen 595 with dimming- I am thinking of a re-design. I need to understand a few things before I proceed…. If I understand this correctly, this is 8 channels of 8 bit dimming per channel. It appears the Q11 and Q10 allow for daisy chaining (signal repeating) of controllers over RJ45. I have also installed Vixen SW and attached the logic analyzer so I can better understand what is happening. If possible, can someone answer a few questions on the design and driver for me?

    1. It appears this requires 64 bits sent over D0 and Strobe to clock in 8 dimming channels, If I built a 8 boards, this would be 64 channels, and this would take 4096 bits to be clocked in per “frame”. It also appears from my logic analyzer that all channels need to be re-loaded per frame, so in this case only 10 could be loaded in 1 second…maybe less. This would take > 100mS to send. If this is true, dimming would be jerky or non-existant since it takes too long to pulse in each “frame”. I use frame for lack of better term…
    2. How many channels should I able to control using dimming and not have bad behavior? I need at least 128 well-behaved channels to make my current planned display…
    3. how many steps of dimming could I expect in a transition in a song, realistically?
    4. Is D0 channel the only one supported in Vixen driver, or can D1-D7 be used in parallel to speed up each frame load time to channels? Or do you simply rely on using more than one printer port?

    Thanks for the help.

    Steve VG
    Steve.vangent@palm.com

  2. #2
    Join Date
    Nov 2007
    Location
    Melbourne , Australia
    Posts
    896

    Default Re: Understanding Design of Horning Dimmer

    not knowing much about the horning dimmer i probably cant help much with your technical questions except to say if you want dimming you might want to check out some of the other designs on the board here. the renard series is alot easier way to get dimming i would think.

    if you want remote ssr's then check out the renard 64. otherwise search for the renard 16 and renard 24. they both have onboard ssr's

    Peter

  3. #3
    Join Date
    Jun 2007
    Location
    Ft. Walton Beach, FL
    Posts
    1,501

    Default Re: Understanding Design of Horning Dimmer

    I'm not sure if anybody is currently using the Horning Dimmer.

    Your best bet on getting info on the Horning dimmer is to PM ErnieHorning directly. I'm sure he'll see this thread eventually but if you want to speed up the process send him a PM.
    RavingLunatic
    Not just a username but a state of mind

  4. #4

    Default Re: Understanding Design of Horning Dimmer

    SInce the Grinch is a derivitive of the 595, and the Horning dimmer is also 595, perhaps you can tell me how many Grinches or 595's you can tie together using printer port before you can see delays in lights, and also how far you can run the RJ45 jack between them, also in Vixen, does the driver support more than just the D0 and Strobe?

  5. #5
    Join Date
    May 2007
    Location
    Apple Valley, MN
    Posts
    3,195

    Default Re: Understanding Design of Horning Dimmer

    Wow, has it really been two years? I came up with this circuit back when even 32 channels was a lot.

    Once ‘595 gets loaded with a value, it’s output gets latched and stays that way until you need to change any output. The 40103 continuously reloads the value that it see’s on it’s input on every zero cross. The speed that a 74595 output can be changed is totally based on the speed of the computer controlling it. The maximum speed of the 74595 is limit by the pulse width of the clock pin which is 1 uS. Which means that fastest that 4096 channels could possibly be updated in, is about 8.2mS.

    The computer that I was using at the time took a total of 4uS for one clock; 1uS for on and 3 uS for off. So 4096 channels would have taken 16.3ms. I don’t think that anyone could see this delay. With that machine, I should be able to support 194 dimmable channels or 12416 ‘595 digital channels, if Windows didn’t get in the way. In practice it’s going to be less.

    I checked this with my current computer awhile back. I believe it was somewhere around 160 dimmable outputs.
    A mediocre person tells. A good person explains. A superior person demonstrates. A great person inspires others to see for themselves.

    Click here to show/hide my display details ...
    Click here to show/hide DIYC Links ...

  6. #6

    Default Re: Understanding Design of Horning Dimmer

    Wonderful. Thanks for the reply! I am going to hook up logic analyzer tonight and test. I will post results and plots (if I can figure out how).

    We are going to try using one PIC controller to control 8 SSR's, as in your design with 8 595's and 840103's. we think the zero crossing can drive an interupt, as can the clock edge from printer strobe, and strobe from Printer linefeed. That should bring cost and size way down, just SSR's and H11AA1 (unless I use BJT). 41k timer will be internal to PIC.

    What is the furthest run you have done between each controller on RJ45? Should I repeat the printer signals?

    AM I RE-INVENTING THE WHEEL?

  7. #7
    Join Date
    May 2007
    Location
    Apple Valley, MN
    Posts
    3,195

    Default Re: Understanding Design of Horning Dimmer

    I originally designed this to be simple to understand; and it was. It didn’t cost me anything for parts, because I used parts that were being thrown away from previous projects at work. It turned out, that it was pretty expensive for the number of usable channels that were available to use. The biggest fallacy was that it still used the parallel port, though it seemed like a good idea at the time. When a lot more people started experimenting with the cheaper 595 only board, we found out how non-standard the parallel port was. Some ports tended to function very differently at very high speeds, which function just fine at the much slower printer speeds.

    I had thought about using a microcontroller to replace nearly all of the added dimming circuitry. About this same time, Phil Short informed me that he was working on an external micro that would control a standard 595 board. It would use a serial port for data and he was pretty sure that he could control it accurately enough to cause a TRIAC to function as a dimmer. He did succeed, its call the REN-C and the result is here. http://www.doityourselfchristmas.com...hp?title=Ren-C Now with a 64 channel string of 595’s, you’re able to have 64 channels of dimming outputs. With the serial port input, the 595 is now very reliable. You also have the ability to use a USB to RS232 converter on new PC’s that don’t come with parallel ports. You can also extend the serial cable to over a thousand feet by converting it to RS485 and back.

    The REN-C was also a stepping stone. A lower cost method is to eliminate the 595, and control the SSR directly using just a microcontroller. This is known as Renard, which now has several variations depending on how many channels you want on a single board and whether want the SSR’s on board or remotely located.

    Are you re-inventing the wheel? Maybe.
    A mediocre person tells. A good person explains. A superior person demonstrates. A great person inspires others to see for themselves.

    Click here to show/hide my display details ...
    Click here to show/hide DIYC Links ...

  8. #8
    Join Date
    May 2007
    Posts
    4,131

    Default Re: Understanding Design of Horning Dimmer

    Basically everything here is re-inventing the wheel, one way or another. I suspect that almost everything that has been presented on this forum is a re-invention...I certainly do not claim any great originality in anything that I've done here. Nothing here is truly rocket science, but go for it anyway. That is the only way to learn, and therefore is definitely not a waste of time.
    Phil

  9. #9

    Default Re: Understanding Design of Horning Dimmer

    See attached GIFs, total time for 164 chanrels on printer port was 18mS (approx), I set up 8 channels for partial dim. Notice it is loading a decimal FBh into each of the 8 channels. The rest were 00h.

    It does appear the printer port is fast enough for this. The only question would be how far between each 8 channel drop run could be done, and if the speed of data transfer could be maintained.
    Attached Images Attached Images

  10. #10
    Join Date
    May 2007
    Location
    Apple Valley, MN
    Posts
    3,195

    Default Re: Understanding Design of Horning Dimmer

    The original SSP mode was speced at 2 meter or 7 feet. I don’t know how far I could have gotten but I had about 40 feet of ribbon cable between two PC’s running communications software without any problems. There may have been error correction involved but I was able to transfer harddrive data at full speed.

    Bi-directional was speced at 10 meter or 33 feet, which uses the same hardware as the EPP that you should be using. I found that one guy on the internet had a printer working at 75 feet with low capacitance cable. This would have likely used hardware handshaking so it probably wasn’t at full speed.

    I don’t know how far you’re looking to go, but distance will depend on the cable that you use and the environment that it’s placed in. People here that use this type of interface keep the hardware close to the PC and run SSR control cables or the power cords the longer distance.
    A mediocre person tells. A good person explains. A superior person demonstrates. A great person inspires others to see for themselves.

    Click here to show/hide my display details ...
    Click here to show/hide DIYC Links ...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •