300 likes | 450 Views
D1g - Instruction-Set Examples to Demonstrate the Application Based on Actual MKVision-Instructions Dipl.-Ing. Herbert Nabereit SYSTECH GmbH. Open Issues. What should groups do? Should groups change with the MASTER/User-Interface Do we need a special voting-group?
E N D
D1g - Instruction-SetExamples to Demonstrate the ApplicationBased on Actual MKVision-InstructionsDipl.-Ing. Herbert NabereitSYSTECH GmbH SYSTECH GmbH, Instruction-Set
Open Issues • What should groups do? • Should groups change with the MASTER/User-Interface • Do we need a special voting-group? • Can we use the instruction-span from 0 to 254(5)?(Why not?) • Should we introduce parity? • Should we repeat a command-sequence if a necessary response failed return (Voting)?How often, which ones? • What cabeling-system should be used (USB?)? • Time constraints with the transmission? SYSTECH GmbH, Instruction-Set
Video- + Mouse-Keyboard-Switiching SYSTECH GmbH, Instruction-Set
Video- + Mouse-Keyboard-Switiching + Audio SYSTECH GmbH, Instruction-Set
Network with all units SYSTECH GmbH, Instruction-Set
Instruction-Format RS-232 Delay between two bytes should allow for easy decoding and detection of a response to the command-sequence! Next Address 2.Byte Instruction/ Payload 1.Byte Address <=200us >=400us Instruction or Response • Easy to decode instructions-set • Fixed command-structure • Timeout can count on fixed length • Fixed timeout after command-sequence avoids confusing addresses and instructions SYSTECH GmbH, Instruction-Set
SYSTECH-Instruction-Set • Easy to Decode and execute on single-chip-microprocessors • Fixed Length Instructions • Supports up to 5 Master-Units • Supports multiple Beamers • Supports Network-Coupling • Easy Instruction Generation • Proven Operation at 1200 bit/s SYSTECH GmbH, Instruction-Set
Room-Image-Master 0F A8 (STUTX)04 A6 (STURX) DBP Nr.19615705.6-35 SYSTECH GmbH, Instruction-Set
What Teachers do.. • Blank the screen and block mouse and keyboard • Broadcast a picture • Look into the students screen • Use the Beamer • .... One touch operations... SYSTECH GmbH, Instruction-Set
User-Interaction Philosophy The instruction-set should accommodate the needs of all three systems: Datainnovation, Datim and Systech! Datainnovation and Systech use uP-based systems, Datim uses a PC.The user-interaction philosophy differs mainly between DataInnovation and Systech. The Systech-System havily depends on the graphic location of the keys and allows for a one-touch action for most of the functions. Instructions are generated immediately. So the Instruction-Set does not depend on an end-of-sequence-key!The instruction-set assumes, that no knowledge of the structure of the network is necessary. It uses two types of instructions: General Instructions: All units will react to. Individual Instructions: To which only one Unit will react. SYSTECH GmbH, Instruction-Set
Individual Instructions affect only one unit at a time (1) Teacher looks into student15‘s screen: 0F A8 (STUTX)04 A6 (STURX)On our user-interface this is a one-touch function as long as the teacher has been selected as source or as sink. In the last case only STUTX has to be sent. 15 04 SYSTECH GmbH, Instruction-Set
Individual Instructions affect only one unit at a time (2) Teacher transmitts his picture to the students screen: 0F A6 (STURX)04 A8 (STUTX) 15 04 SYSTECH GmbH, Instruction-Set
Individual Instructions affect only one unit at a time (3) Teacher transmitts his picture to a group of students: 04 A8 (STUTX) 0E A6 (STURX) 0F A6 (STURX) 10 A6 (STURX) Let the students do their work again:0E A7 (STULOC) 0F A7 (STULOC) 10 A7 (STULOC) 14 15 16 04 SYSTECH GmbH, Instruction-Set
General-Instructionsaffect all active units Disabled group: Not affected Set-up:04 A6 STUTX00 A2 ALLONCancel:00 A1 ALLWORKTeacher may remain on the network. Teacher- and beamer-unit are handled differently SYSTECH GmbH, Instruction-Set
Audio-Connection Teacher- Student16(1) Setup 2-way-communication between teacher and student1610 A6 (STURX) 04 A8 (STUTX) 04 AF (AUDSRC)10 B0 (AUDSINK)00 AA (AUD2CON)Let teacher talk to them all:00 AC (AUDBROA) 14 15 16 04 SYSTECH GmbH, Instruction-Set
Audio-Connection Teacher- Student16 (2) Stop all audiofunctions, retain videoconnection: 00 AE (AUDOFF)Reset:00 D5 (RESET) 14 15 16 04 SYSTECH GmbH, Instruction-Set
Remote-Control Teacher- Student16 Remote control of Student16Student16 transmitts 0F A8 (STUTX)04 A6 (STURX) Take over Keyboard04 B5 (STUTXMK)0F B4 (STURXMK) Control of all STU‘s00 B1 (REMALL) END: 00 B2 (REMAOF) 14 15 16 04 SYSTECH GmbH, Instruction-Set
Example Multimaster 1 Room-Image-Master 1 00 DF .. 00 DF .. 00 DF7F F2 (ROK)00 DF stop‘s, after 700ms:00 E1 .. 00 E1 .. 00 E1 Room-Image-Master 3 3 SYSTECH GmbH, Instruction-Set
Voting Voting 00 C9 (VOTMOD1)00 C6 (VOTSTRT)... Let them vote...00 C7 (VOTSTOP)0F D1 (STGETB1)0F D2 (STGETB2)...01 D1 01 D2...00 C8 (VOTCLR) SYSTECH GmbH, Instruction-Set
Picture to all 04 A8 (STUTX) 00 A2 (ALLON)Stop this: 00 A3 (ALLOF)or00 D5 (RESET) 04 SYSTECH GmbH, Instruction-Set
Student transmitts picture to 2 other students 6 06 A8 (STUTX) 04 A6 (STURX) 08 A6 (STURX)cancel:04 A7 (STULOC)06 A7 (STULOC)08 A7 (STULOC)or:00 D5 (RESET) 8 4 Teacher SYSTECH GmbH, Instruction-Set
All monitor‘s except teachers one are dark 00 A0 (ALLDARK) Work again: 00 A1 (ALLWORK)or: 00 D5 (RESET) SYSTECH GmbH, Instruction-Set
Switchover-Sequence • Master 1 transmitt the mastercode GENERAL MASTER1 every 200ms and with this prohibits the automatic activation of Master 3 • Master 3 responds to GENERAL MASTER1 with MASTER ROK. • Master 1 stops transmitting • Master 3 takes over control of the whole network • Master 3 sends GENERAL MASTER3 SYSTECH GmbH, Instruction-Set
Example Coupled Networks Supervisor‘s Room Medical University of Kiel/Germany Master 2 Master 3 Hub Master 1 SYSTECH GmbH, Instruction-Set
Couple-Sequence • Master 1 and Master 3 transmitt the mastercode GENERAL MASTER1 and GENERAL MASTER 3 every 200ms in their networks. Master 2 is not working. • Master 1 sends GENERAL NETJOIN • HUB responds to Master 3 with MASTER ROK andback to Master 1 with GENERAL DELAY(repeatedly) • Master 3 stops transmitting • HUB detects timeout responds to MASTER 1 withMaster ROK • Master 1 takes over the control of the two networks SYSTECH GmbH, Instruction-Set
Couple-Instructions • 00 DF (Master1) … 00 DF (Master1)00 E1 (Master3) … 00 E1 (Master3) • 00 DE (NETJOIN) • HUB:7F ROK7F 85 (DELAY) … 7F 85 (DELAY) … until ready • Master 3 stops transmitting • 7F ROK • 00 DF (Master1) … 00 DF (Master1) SYSTECH GmbH, Instruction-Set
Address-Structure 15 Adresses per Student are necassary: 5 Studentaddresses, one for each master 5 Beameraddresses, one for each master 5 Teacheraddresses, one for each master According to the address sent, the unit will perform as a Student‘s-, Beamer‘s or a Teachers-Unit. Once Programmed the Master-Unit can be exchanged without reconfiguring the Master-Unit. SYSTECH GmbH, Instruction-Set
Hub-Properties At the moment it is assumed, that the HUBS do not need to take any commands execpt the HUB which can couple two networks. Usual Ehternet-HUBS do not delay the transmisson, but route the signal nearly in realtime – so we should to this too. That would make the programming of the HUBS much easier. One other thought: The automobile-manufacturers have a Low-Speed-CAN which can cope with 40m length at 100 kbit/s without terminationresistors. They make a tree out of it. At 19,6kbit/s this should work up to 200m – and would simplify the control-routing considerably. SYSTECH GmbH, Instruction-Set
Open Issues • What should groups do? • Should groups change with the MASTER/User-Interface • Do we need a special voting-group? • Can we use the instruction-span from 0 to 254(5)?(Why not?) • Should we introduce parity? • Should we repeat a command-sequence if a necessary response failed return (Voting)?How often, which ones? • What cabeling-system should be used (USB?)? • Time constraints with the transmission? SYSTECH GmbH, Instruction-Set
SCREENS … on the way to success. SYSTECH GmbH, Instruction-Set