systech gmbh, instruction-set d1g - instruction-set examples to demonstrate the application based on...
Post on 21-Dec-2015
239 views
TRANSCRIPT
SYSTECH GmbH, Instruction-Set
D1g - Instruction-SetExamples to Demonstrate the Application
Based on Actual MKVision-Instructions
Dipl.-Ing. Herbert Nabereit SYSTECH GmbH
SYSTECH GmbH, Instruction-Set
Open Issues
1. What should groups do?
2. Should groups change with the MASTER/User-Interface
3. Do we need a special voting-group?
4. Can we use the instruction-span from 0 to 254(5)?(Why not?)
5. Should we introduce parity?
6. Should we repeat a command-sequence if a necessary response failed return (Voting)?How often, which ones?
7. What cabeling-system should be used (USB?)?
8. 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
1.Byte Address2.Byte Instruction/ Payload
•Easy to decode instructions-set
•Fixed command-structure
•Timeout can count on fixed length
•Fixed timeout after command-sequence avoids confusing addresses and instructions
<=200us>=400us
Delay between two bytes should allow for easy decoding and detection of a response to the command-sequence!
Next Address
Instruction or Response
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
DBP Nr.19615705.6-35
0F A8 (STUTX)04 A6 (STURX)
SYSTECH GmbH, Instruction-Set
What Teachers do..
1. Blank the screen and block mouse and keyboard
2. Broadcast a picture
3. Look into the students screen
4. Use the Beamer
5. ....
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)
15
04
1614
SYSTECH GmbH, Instruction-Set
General-Instructionsaffect all active units
Disabled group: Not affected
Teacher- and beamer-unit are handled differently
Set-up:04 A6 STUTX00 A2 ALLON
Cancel:00 A1 ALLWORK
Teacher may remain on the network.
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)
15
04
1614
SYSTECH GmbH, Instruction-Set
Audio-Connection Teacher- Student16 (2)
Stop all audiofunctions, retain videoconnection:
00 AE (AUDOFF)
Reset:00 D5 (RESET)
15
04
1614
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‘s 00 B1 (REMALL)
END: 00 B2 (REMAOF)
15
04
1614
SYSTECH GmbH, Instruction-Set
Example Multimaster
00 DF .. 00 DF .. 00 DF7F F2 (ROK)00 DF stop‘s, after 700ms:00 E1 .. 00 E1 .. 00 E1
1
3
Room-Image-Master 1
Room-Image-Master 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
06 A8 (STUTX)04 A6 (STURX)08 A6 (STURX)cancel:04 A7 (STULOC)06 A7 (STULOC)08 A7 (STULOC)or:00 D5 (RESET)
Teacher
6
8
4
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-Sequence1. Master 1 transmitt the mastercode GENERAL
MASTER1 every 200ms and with this prohibits the automatic activation of Master 3
2. Master 3 responds to GENERAL MASTER1 with MASTER ROK.
3. Master 1 stops transmitting
4. Master 3 takes over control of the whole network
5. Master 3 sends GENERAL MASTER3
SYSTECH GmbH, Instruction-Set
Example Coupled Networks
Medical University of Kiel/GermanySupervisor‘s
Room
Hub
Master 1
Master 2
Master 3
SYSTECH GmbH, Instruction-Set
Couple-Sequence1. Master 1 and Master 3 transmitt the mastercode
GENERAL MASTER1 and GENERAL MASTER 3 every 200ms in their networks. Master 2 is not working.
2. Master 1 sends GENERAL NETJOIN
3. HUB responds to Master 3 with MASTER ROK andback to Master 1 with GENERAL DELAY(repeatedly)
4. Master 3 stops transmitting
5. HUB detects timeout responds to MASTER 1 withMaster ROK
6. Master 1 takes over the control of the two networks
SYSTECH GmbH, Instruction-Set
Couple-Instructions1. 00 DF (Master1) … 00 DF (Master1)
00 E1 (Master3) … 00 E1 (Master3)
2. 00 DE (NETJOIN)
3. HUB:7F ROK7F 85 (DELAY) … 7F 85 (DELAY) … until ready
4. Master 3 stops transmitting
5. 7F ROK
6. 00 DF (Master1) … 00 DF (Master1)
SYSTECH GmbH, Instruction-Set
Address-Structure
15 Adresses per Student are necassary:5 Studentaddresses, one for each master5 Beameraddresses, one for each master5 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
1. What should groups do?
2. Should groups change with the MASTER/User-Interface
3. Do we need a special voting-group?
4. Can we use the instruction-span from 0 to 254(5)?(Why not?)
5. Should we introduce parity?
6. Should we repeat a command-sequence if a necessary response failed return (Voting)?How often, which ones?
7. What cabeling-system should be used (USB?)?
8. Time constraints with the transmission?
SYSTECH GmbH, Instruction-Set
SCREENS
… on the way to success.