Collection of Sensor and Instrument Debugging Tools - Comprehensive Guide to Mobile Debugging of Electric Meters/Sensors/Transmitters

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

Collection of Sensor and Instrument Debugging Tools - Comprehensive Guide to Mobile Debugging of Electric Meters/Sensors/Transmitters

1, Mobile requirements for debugging sensing instruments

In smart buildings, In industrial automation and energy management projects, Sensors and instrumentsThe quantity often far exceeds that of controllers and drivers. A medium-sized building may have hundreds of temperature sensors, Dozens of electricity meters, Dozens of occupancy sensors——These devicesInstallation, debugging, and troubleshootingOccupying a significant amount of engineers' time.

The traditional debugging method requires carrying a dedicated debugger (If infrared handheld device is required for electricity meter debugging, Sensor debugging needsHARTHand operated device) , Expensive and diverse equipment. modbusDebugging Assistant "integrates the debugging functions of sensors and instruments into a mobile WeChat mini program.

Two, Electricity meter debugging assistant — Modbus RTU Electricity meter dedicated

2.1 Supported measurement parameters

Parameter categorySpecific parametersData type
VoltageA/B/CPhase voltage, Line voltageFLOAT32
electric currentA/B/CPhase current, Zero line currentFLOAT32
PowerActive/reactive/apparent power, Total powerFLOAT32
Electric energyPositive/negative active energy, Reactive energyFLOAT32
Power factorTotal power factor, A/B/CPhase power factorFLOAT32
FrequencyGrid frequencyFLOAT32

2.2 Usage process

  1. ThroughRS485TurnTTLmodular (Or Bluetooth serial port module) Connect the electricity meter
  2. Configure communication parameters: Baud rate9600 (Default electricity meter) , 8Bit data, No verification, 1Stop the position
  3. Enter the address of the meter substation (Usually default01, Can be modified in the meter panel or parameters)
  4. Click on 'Read All Parameters' to retrieve all power parameters with just one click
  5. It is also possible to read a certain type of parameter separately (Such as read-only voltage, Read only power)

The tool is pre-setRegister address table for commonly used electric meter brands: Ankerui, Sifer, Yada, Zhengtai, Delixi et al, Eliminated the step of looking up register addresses in the manual.

Three, DL/T645 Meter debugging — Specialized for State Grid standard electric meters

DL/T645-2007 It is the Chinese power industry standard "Multi functional Energy Meter Communication Protocol", It is the smart meter of China State Grid and Southern Power GridMandatory communication standards.

3.1 DL/T645 Characteristics of the agreement

  • mailing address: 6ByteBCDCode, Usually the meter number (Like000012345678)
  • Frame format: Initial symbol(68H)+Address domain(6B)+Initial symbol(68H)+Control code(1B)+Data length(1B)+Data identification(4B)+Data domain+checksum(1B)+End symbol(16H)
  • Baud rate: The default is2400bps (Early electric meters) Or9600bps (New type of electric meter)
  • Data identification: 4ByteDI (Data Identifier) , Like00010000=Positive active total electrical energy, 02010100=APhase voltage

3.2 Core functions

DL/T645Debugging tool support: Address detection (Broadcast transmission of read communication address command, Obtain the electricity meter number) , Full parameter reading (One click reading of all commonly used itemsDI——Voltage/current/power/electrical energy/power factor/demand/frozen data) , Parameter configuration (Modify the communication address of the electricity meter, Baud rate, CTVariable ratio and other parameters) , Data parsing (Correct analysis645Protocol specificBCDCode, Positive and negative number processing, Decimal point processing) .

3.3 DI Quick reference table

The tool is built-inDL/T645-2007StandardcompleteDIQuick reference table, Divided by type: Electric energy category (0000xxxx) , Variable class (0201xxxx-0203xxxx) , Event record class (0300xxxx) , Parameter variable class (0400xxxx) , Freeze data category. Click to automatically fill inDIValue.

Four, Sensor calibration calculator

Sensor calibration (Calibration) It is a key step to ensure measurement accuracy. This tool providesLinear sensor calibrationComplete computing capabilities:

  • Two-point calibration method: Input two known physical quantities and their corresponding sensor output values (If the temperature is knownA=0°CTime sensor output4mA, TemperatureB=100°CTime output20mA) , Automatically calculate slope (Slope) And intercept (Offset) , Output calibration equation y = Slope × x + Offset
  • Multi point calibration method: Input3-10A benchmark point, Automatically perform linear regression calculations (Least squares method) , Output regression equation andR²Goodness of fit, Evaluate the linearity of the sensor
  • Calibration verification: Enter the calibrated slope and intercept, Enter the original sensor value again, Output calibrated physical quantities, Comparison error with standard value

Typical applications: One4-20mAOutput pressure transmitter, Nominal range0-1.6MPa, But actual testing found that4mATime display-0.02MPa, 20mATime display1.63MPa. Calculate the corrected slope and intercept using the two-point calibration method, Return the measured values to accuracy.

Five, Debugging tool for human occupancy sensor

Occupancy sensor (Occupancy Sensor) It is the core equipment for intelligent lighting and building energy conservation. This tool is designed specifically forDebugging and verifying the occupancy sensordesign Sensitivity adjustment:

  • Through: Reading and writing sensorsModbusSensitivity parametersPIRRange (0-100%Delay Setting)
  • Delay Setting: Configure sensors to maintain output in the detection area when there is no one presentONThe time (Hold Time) ——From 5 seconds to30minute
  • Light threshold: Set the ambient light threshold (LuxValue) , Maintain output even if a person is detected below the thresholdOFF (Not triggered when there is sufficient natural light during the day)
  • Real time status monitoring: Simultaneously displayPIRDetection status (Someone/No one) , Current illuminance, Output relay status, Last trigger time
  • Verification of detection range: Walk within the detection range, Observing sensorsPIRDelay and holding time of state changes, Verify whether the installation position and angle are reasonable

Six, Sensor debugging assistant (Universal)

This is aUniversal sensor data reading and analysis tools, Unrestricted sensor types, ThroughModbus RTU/TCPRead any sensor data:

  • Custom register mapping: Add any number of register configuration items (name, Address, Data type, Range of measurement, Company) , Save as template
  • Multi sensor simultaneous monitoring: Display real-time values of multiple sensors simultaneously on one interface——Check temperature/humidity/pressure/flow rate/liquid level together
  • Trend chart: Draw a line graph of sensor data over time, Observe fluctuations and trends intuitively
  • Threshold alarm: Set upper and lower limits for each sensor, Highlight and record alarm logs when exceeding the range

Seven, Pressure transmitter calculator

Pressure transmitters are one of the most commonly used instruments in process control. This calculator covers commonly used calculations in the field of stress:

  • Range conversion: 4-20mA ↔ Pressure value (MPa/kPa/bar/psi/kgf/cm² Multiple units)
  • Liquid level height↔Pressure: Input liquid density and height → Calculate the bottom pressure; Or input the bottom pressure → Reverse calculate the liquid level height
  • Differential pressure flow rate: Based on the reading of the differential pressure transmitter and the flow coefficient of the orifice plate/Venturi tube, Calculate traffic
  • Static pressure correction: When measuring the pressure at the bottom of the container to calculate the liquid level, Correct the impact of static gas pressure above

Eight, Summary

From electric meters to sensors, From electricity metering to environmental perception, FromDL/T645The State Grid standard has been reachedModbusGeneral agreement——These 7 tools allow engineers to complete the debugging and calibration of sensor instruments on their mobile devices.

Open WeChat search modbusDebugging Assistant ", All tools are free to use.

Recommended reading: ModbusCommon detection methods for communication errors | ModbusAndRS485What is the relationship?


🎯 All tools described in this article are free to use in WeChat mini programs

Open WeChat → Click on the top search button → Input modbusDebugging Assistant " → Enter the mini program.
No need to downloadAPP, No registration or login required, No need for a computer——70+ Industrial control debugging tool, Just take out your phone and you can use it.

Whether you are on the construction site, During business trips, Still studying at home, modbusDebugging assistants are all industrial automation debugging workstations that you carry with you.

Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.