namespace IndustrialRoboticsControl

features
	RobotController {abstract}
		mandatory
			MainProcessor {ClockSpeed 3.0, Cores 4, PowerWatt 65}
				mandatory
					FloatingPointUnit
					CacheMemory {SizeMB 8}
						mandatory
							L1Cache {SizeKB 32}
							L2Cache {SizeKB 256}
		optional
			BackupBattery {CapacityAh 10, VoltageV 12}
		or
			SinglePhasePower
			TriplePhasePower

	MotionControlSystem {abstract}
		mandatory
			ServoDrivers {NumChannels 8, MaxCurrentA 30}
				mandatory
					ControlAlgorithm {abstract}
						alternative
							DirectTorqueControl
							VoltageVectorPulseWidthModulation
			MotorFeedbackSystems {abstract}
				or
					ElectromagneticEncoders
					LaserInterferometers

	PathPlanningSystem {abstract}
		optional
			CollisionAvoidance
				mandatory
					ObstacleDetectionSensors {NumSensors 6, RangeMeters 10}
						or
							UltrasonicSensors {MaxFrequencyKHz 500}
							LasersSensors {PowerMilliWatt 3.5}

	RoboticsSoftwareArchitecture {abstract}
		mandatory
			UserInterface {ScreenSizeInch 17, Touchscreen true}
				optional
					VirtualRealityControls
			CommunicationProtocols {abstract}
				or
					EthernetProtocol
					CanbusProtocol

	SafetySystems {abstract}
		mandatory
			UrgencyStopButton
				mandatory
					ButtonSensitivity {SensitivityLevel 3}
						mandatory
							FastResponseSystem {MaxResponseTimeMilliSec 200}

	RoboticsSimulationSoftware {abstract}
		optional
			MotionSimulation
				mandatory
					DynamicsAnalysisModule
					CollisionDetectionAlgorithm

	ControlStrategies {abstract}
		or
			PIDController {ProportionalGain 1.5, IntegralTime 0.5, DerivativeTime 0.2}
				mandatory
					TuningMethod {abstract}
						optional
							ZieglerNicholsMethod
			ILPController

	RobotKinematics {abstract}
		mandatory
			JointConfigurations {DegreesFreedom 6}
				mandatory
					SerialManipulatorConfiguration
					ParallelManipulatorConfiguration

	RobotDynamics {abstract}
		mandatory
			InertiaMatrices

	RobotSensors {abstract}
		or
			ForceTorqueSensors {NumSensors 4, SensitivityNpNm 250}
				mandatory
					SamplingFrequencykHz {MaxSamplingFrequency 100}
							mandatory
								HighSampleRateSystem {MaxProcessingTimeMicroSec 100}

constraints
	MainProcessor.ClockSpeed * MainProcessor.Cores >= 8.0
	ForceTorqueSensors.SensitivityNpNm + SamplingFrequencykHz.MaxSamplingFrequency > 350
	ButtonSensitivity.SensitivityLevel <= FastResponseSystem.MaxResponseTimeMilliSec / 100
	ServoDrivers.NumChannels * ServoDrivers.MaxCurrentA * ControlAlgorithm.DirectTorqueControl => CollisionAvoidance.ObstacleDetectionSensors.RangeMeters >= 10.0
	EthernetProtocol => CanbusProtocol == false
	MotionSimulation.DynamicsAnalysisModule => PIDController.ProportionalGain > 1.0
	SerialManipulatorConfiguration => ParallelManipulatorConfiguration == false
	InverseKinematicsSolver => JointConfigurations.DegreesFreedom <= 6.0