Advertisement

Quick Links

User Manual

Smart Power Switch
REV A2
SmartPowerSwitch_A2_UserManual.docx
1/24
develogic GmbH

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Smart Power Switch A2 and is the answer not in the manual?

Questions and answers

Summary of Contents for develogic Smart Power Switch A2

  • Page 1: User Manual

    User Manual Smart Power Switch REV A2 SmartPowerSwitch_A2_UserManual.docx 1/24 develogic GmbH...
  • Page 2: Table Of Contents

    System Commands ..........................14 1.7. Power Switch Commands ........................15 1.8. Magnet Starter Commands ......................... 15 1.9. Fuse Commands........................... 17 1.10. Log Commands ..........................21 1.11. Power Commands ..........................22 Extended or Recovery Firmware Upgrade ..................24 SmartPowerSwitch_A2_UserManual.docx 2/24 develogic GmbH...
  • Page 3: Revision History

    Added switch command description 16.12.15 M. Gäth Consumed energy added (data output sting and getter/setter) Added power commands to read single sensor value Changed OutputEnable/LogEnable to configurable intervals Changed temperature fuse characteristics (reset threshold instead of reset time) SmartPowerSwitch_A2_UserManual.docx 3/24 develogic GmbH...
  • Page 4: System Description

     High pressure protection Simple On/off switching using the develogic Magnet Starter plug attached to the cap of the housing Switch signaling and battery voltage blinking through a bi-color LED RS232 interface for commanding, configuring, data output and log readout Less than 3µA current consumption if switch is off...
  • Page 5: Magnet Starter Plug And Serial Port

    To assure an operating depth of 6000m, sealing compound was used to seal the opening of the plug. Chapter III describes the Magnet Starter plug usage in detail. The serial port is used for configuration of the Smart Power Switch and the log readout. Chapter IV describes the serial port usage in detail. SmartPowerSwitch_A2_UserManual.docx 5/24 develogic GmbH...
  • Page 6: Interfacing With The Magnet Starter Plug

    Table 1: Summary of the On/Off switching LED signaling 1.1. On-Switching To turn the power switch on, the magnet has to be moved to the On/Off plug oriented as shown in Figure 3. Figure 3: Orientation of the magnet for a switch-on SmartPowerSwitch_A2_UserManual.docx 6/24 develogic GmbH...
  • Page 7 10 fast red blinks. The switch will not be closed. After this error blinking is done, the measured battery voltage will be blinked. The switch will not be turned on. Figure 5: Blinking sequence if switch-on is not successful due to low battery voltage SmartPowerSwitch_A2_UserManual.docx 7/24 develogic GmbH...
  • Page 8 To avoid ambiguity, the two red blinks are done even if one of the digits is zero (e.g. if the battery voltage is 20V). Note: The blinking of the first decimal place is optional and can be activated via the serial interface. SmartPowerSwitch_A2_UserManual.docx 8/24 develogic GmbH...
  • Page 9: Off-Switching

    One second after the removal of the magnet, the red LED will light up indicating the detection of the magnet and the intention to turn the switch on. The switch will be turned off. Figure 7: Blinking sequence if switch off is successful SmartPowerSwitch_A2_UserManual.docx 9/24 develogic GmbH...
  • Page 10: Fuse Indication

    3 seconds, the switch-off command will be sent and after a configurable delay the switch will be turned off. acknowledged by 5 red blinks. The commands used to configure the command strings and delay are described in Section IV.1.8. SmartPowerSwitch_A2_UserManual.docx 10/24 develogic GmbH...
  • Page 11: Interfacing With The Serial Port

    Optional parameters are enclosed by brackets '[' and ']'. A command is executed as soon as the <CR><LF> is sent, after the command and its (optional) parameters were typed in. SmartPowerSwitch_A2_UserManual.docx 11/24 develogic GmbH...
  • Page 12: Reading And Writing Of System Parameters

    Parameter category + ID: Category and ID of requested parameter. Possible Responses: !{get Category.ParameterID Value} - the requested value. !{error.00002 Invalid parameter} - the parameter category or ID was invalid. Return the value of the requested system parameter. SmartPowerSwitch_A2_UserManual.docx 12/24 develogic GmbH...
  • Page 13: Data Output Prompt

    Retrieve system time. ?{set Clock.Time X} Parameters: X = YYYY-MM-DD_hh:mm:ss:msec: Time stamp with given format (24h). Possible Responses: !{set Clock.Time 2010-10-01 12:00:00.050} - time change OK response. !{error.00002 Invalid parameter} - the parameter category or ID was invalid. SmartPowerSwitch_A2_UserManual.docx 13/24 develogic GmbH...
  • Page 14: System Commands

    1.6. System Commands ?{system.savecfg} Response: OK Save the configurable parameters permanently in the non-volatile memory. Note: If parameter values are changed, this command needs to be used if the changed parameter values should persists after a shutdown. SmartPowerSwitch_A2_UserManual.docx 14/24 develogic GmbH...
  • Page 15: Power Switch Commands

    Return string: Data string that is sent via the serial port after holding the black side of the magnet close to the plug for 0.5 to 2 seconds (Maximum 20 characters). String ?{set MagnetStart.SwitchOffCommand String: Data string with maximum 20 characters SmartPowerSwitch_A2_UserManual.docx 15/24 develogic GmbH...
  • Page 16 If this value is 0, the magnet detection is limited to on/off switching and no command to enable/disable data acquisition is sent automatically. ?{get MagnetStart.SwitchCommandEnable} Response: !{get MagnetStart.SwitchCommandEnable Value} Return value: Switch command functionality is disabled Switch command functionality is enabled SmartPowerSwitch_A2_UserManual.docx 16/24 develogic GmbH...
  • Page 17: Fuse Commands

    For e.g. a 9s19p arrangement of alkaline batteries with an approximate approximation is only an as the internal resistance of a battery varies dynamically with temperature, discharge and load amongst others. SmartPowerSwitch_A2_UserManual.docx 17/24 develogic GmbH...
  • Page 18 Response: !{get Fuse.MaxCurrentFuseResets Value} Value ?{set Fuse.CurrentFuseResetTime Value: Time after a fuse trigger the switch stays turned off until it is reset Unit: milliseconds Response: !{set Fuse.CurrentFuseResetTime Value} ?{get Fuse.CurrentFuseResetTime} Response: !{get Fuse.CurrentFuseResetTime Value} Unit: milliseconds SmartPowerSwitch_A2_UserManual.docx 18/24 develogic GmbH...
  • Page 19 If this counter reaches the maximum number of violations, the fuse is triggered. The counter value decreases if a temperature sample is lower than the maximum threshold. ?{get Fuse.MaxTemperatureViolations} Response: !{get Fuse.MaxTemperatureViolations Value} SmartPowerSwitch_A2_UserManual.docx 19/24 develogic GmbH...
  • Page 20 Unit: °C Response: !{set Fuse.TemperatureFuseResetThreshold Value} The switch will be turned on again after the temperature falls below this threshold. ?{get Fuse.TemperatureFuseResetThreshold} Response: !{get Fuse.TemperatureFuseResetThreshold Value} Unit: °C SmartPowerSwitch_A2_UserManual.docx 20/24 develogic GmbH...
  • Page 21: Log Commands

    1 = Log readout will be displayed in Comma Separated Value format Value Response: !{set Processor.CSVFormat ?{get Processor.CSVFormat} Value: 0 = default data output string; 1= CSV format output string Response: !{get Processor.CSVFormat Value} ?{set Processor.ConsumedCharge Value} Value: Charge consumed by the system Unit: SmartPowerSwitch_A2_UserManual.docx 21/24 develogic GmbH...
  • Page 22: Power Commands

    The state of charge is the difference between battery capacity and consumed charge. ?{get Power.ConsumedCharge} Response: !{get Power.ConsumedCharge Value} Unit: ?{get Power.ConsumedEnergy} Response: !{get Power.ConsumedEnergy Value} Unit: ?{get Power.Current} Response: !{get Power.Current Value} Unit: Last sampled current value. SmartPowerSwitch_A2_UserManual.docx 22/24 develogic GmbH...
  • Page 23 ?{get Power.BatteryVoltage} Response: !{get Power.BatteryVoltage Value} Unit: Last sampled battery voltage value. ?{get Power.OutputVoltage} Response: !{get Power.OutputVoltage Value} Unit: Last sampled output voltage value. ?{get Power.Temperature} Response: !{get Power.Temperature Value} Unit: °C Last sampled temperature value. SmartPowerSwitch_A2_UserManual.docx 23/24 develogic GmbH...
  • Page 24: Extended Or Recovery Firmware Upgrade

    5. Configure the Setup->Memory Options according to Figure 8. 6. Open the code file (.hex file type). 7. Connect the JTAG adapter to the red connector mounted on the develogic PCB observe the pin 1 orientation (pin 1 to notch).

Table of Contents