BLITZ Sensor BS-MC2300 Digital Magnetometer Instruction Manual

June 12, 2024
BLITZ Sensor

BLITZ Sensor BS-MC2300 Digital Magnetometer

BLITZ Sensor BS-MC2300 Digital Magnetometer 

PRODUCTION EXECUTION STANDARD REFERENCE

  • Enterprise quality system standard: ISO9001: 2008 standard (certification number: 128101)
  • The intellectual property management system complies with the standard: GB / T 29490-2013 (Certificate No. : 18117IP1529R0S)
  • Production standard: SJ 20873-2003 General specification for angle sensor
  • Compass test standard: QJ 2318-92
  • Software development reference standard: GJB 2786A-2009
  • Product environmental test detection standard: GJB150
  • Revision time:2015-05-15
  • Product functions, parameters, appearance, etc. will be adjusted with technology upgrades, please contact the company’s pre-sales business to confirm when buying
PRODUCTION

Production

The BLITZ Sensor BS-MC2300 is a three-axis smart digital magnetometer to detect the strength and direction of an incident magnetic field. The three magneto-resistive sensors are oriented in orthogonal directions to measure the X, Y and Z vector components of a magnetic field. These sensor outputs are converted to 16-bit digital values using an internal delta-sigma A/D converter. An onboard EEPROM stores the magnetometer’s configuration for consistent operation. The data output is serial full-duplex RS-232 or half- duplex RS-485 with 9600 or 19,200 data rates. A RS-232 development kit version is available that includes a windows compatible demo program, interface cable, AC adapter, and carrying case.

MAIN FEATURE
  • High Accuracy Over ±1 gauss, <0.5% Full Scale
  • Range of ±2 gauss, <70 µgauss Resolution
  • Three Axis (X, Y, Z) Digital Outputs
  • 10 to 154 Samples Per Second, Selectable
  • RS-232 or RS-485 Serial Data Interfaces
  • PCB or Aluminum Enclosure Options
  • 6-15 volt DC Unregulated Power Supply Interface
APPLICATION
  • Attitude Reference
  • Compassing & Navigation
  • Traffic and Vehicle Detection
  • Anomaly Detection
  • Laboratory Instrumentation
  • Security Systems
    Application
    Application

SPECIFICATION

Characteristics| Conditions| Min| Type| Max| Units
---|---|---|---|---|---
Power Supply
Supply Voltage| Pin 9 referenced to Pin 5 (Ground)| 6.5| | 15| Volts
Supply Current| V supply = 15V, with S/R = On| | 27| 35| mA
Temperature
Operating| Ambient| -40| | +85| °C
Storage| Ambient, Unbiased| -55| | 125| °C
Magnetic Field
Range| Full Scale (FS) , Total Field Applied| -2| | +2| gauss
Resolution| Applied Field to Change Output| 67| | | micro-gauss
Accuracy| RSS of All Errors @+25°C

± 1 gauss
± 2 gauss

| | 0.01
1| 0.52
2| %FS
%FS
Linearity Error| Best Fit Straight Line @+25°C

± 1 gauss
± 2 gauss

| | 0.1
1| 0.5
2| %FS
%FS
Hysteresis Error| 3 Sweeps Across± 2 gauss @+25°C| | 0.01| 0.02| %FS
Repeatability Error| 3 Sweeps Across ± 2 gauss @+25°C| | 0.05| 0.10| %FS
Gain Error| Applied Field for Zero Reading| | 0.05| 0.10| %FS
Offset Error| Applied Field for Zero Reading| | 0.01| 0.03| %FS
Temperature Effect| Coefficient of Gain| | -600
±114| | ppm/°C
Power Supply Effect| From +6 to +15V with 1 gauss Applied Field| | 150| | ppm/V
Mechanical
Weight| PCB Only
PCB and Non-Flanged Enclosure PCB and Flanged Enclosure| | 28
94
98| | grams
Vibration| Operating , 5 to 10Hz for 2 Hours 10Hz to 2kHz for 30 Minutes| | 10
2.0| | mm
g
Digital 110 Timing| (See Timing Diagrams)
T RESP| *dd Commands (dd = Device ID)

ddP
ddR, ddS, ddT
ddC
ddQ
99 Commands 2 990

| 1.9| 2
3
6
40
2+(ddx80)
2+(ddx40)
2+(ddx120)| 2.2
3.2
6.2
60
2+Typ
2+Typ
2+Typ| msec
T DELAY| dd Commands (dd = Device ID)
99 Commands| 39| 40
ddx40| 41
2+Typ| msec
T BYTE| 9600
19,200| | 1.04
0.52| | msec
T STARTUP| Power Applied to End of Start-Up Message| | 50| 80| msec

RS-232 COMMUNICATIONS – Figure1 (Timing is Not to Scale)

RS-232 COMMUNICATIONS - Figure1 \(Timing is Not to
Scale\)

RS-485 COMMUNICATIONS – Figure 2 (Timing is Not to Scale)

RS-485 COMMUNICATIONS - Figure 2 \(Timing is Not to
Scale\)

*GLOBAL ADDRESS (99) DELAY – Figure 3 (Timing is Not to Scale)**

GLOBAL ADDRESS \(*99\) DELAY - Figure 3 \(Timing is Not to
Scale\)

PIN CONFIGURATION

Pin Number Pin Name Description
1 NC No Connection
2 TD Transmit Data. RS-485 (B+)
3 RD Receive Data, RS-485 (A-)
4 NC No Connection
5 GND Power and Signal Ground
6 NC No User Connection (factory X offset strap +)
7 NC No User Connection (factory Y offset strap +)
8 NC No User Connection (factory Z offset strap +)
9 V+ Unregulated Power Input (+6 to +15 VDC)

PCB DIMENSIONS AND PINOUT – Figure 4 (Connector Not Shown for Clarity)

PCB DIMENSIONS AND PINOUT - Figure 4 \(Connector Not Shown for
Clarity\)

CASE DIMENSIONS – Figure 5

CASE DIMENSIONS - Figure 5

RS-232 UNBALANCED 1/0 INTERCONNECTS – Figure 6

RS-232 UNBALANCED 1/0 INTERCONNECTS - Figure 6

RS-485 BALANCED 1/0 INTERCONNECTS – Figure 7

RS-485 BALANCED 1/0 INTERCONNECTS - Figure 7

DATA COMMUNICATIONS

The RS-232 signals are single-ended undirectional levels that are sent received simultaneously (full duplex). One signal is from the host personal computer (PC) transmit (TD) to the BS-MC2300 receive (RD) data line, and the other is from the BS-MC2300 TD to the PC RD data line. When a logic one is sent, either the TD or RD line will drive to about +6 Volts referenced to ground. For a logic zero, the TD or RD line will drive to about – 6 Volts below ground. Since the signals are transmitted and dependent on an absolute voltage level, this limits the distance of transmission due to line noise and signal to about 60 feet. When using RS-485, the signals are balanced differential transmissions sharing the same lines (half-duplex). This means that logic one the transmitting end will drive the B line at least 1.5 Volts higher than the A line. For a logic zero, the transmitting end will drive the B line at least 1.5 Volts lower than the A line. Since the signals are transmitted as difference voltage level, these signals can withstand high noise environments or over very long distances where line loss may be a problem; up to 4000 feet. Note that long RS-485 lines should be terminated at both ends with 120- ohm resistors. Another precaution on RS-485 operation is that when the BS-MC2300 is in a continuous output mode of operation, the host PC may have to send repeated escape and carriage return bytes to stop the stream of output data. If the host can detect a recieved carriage return byte (0D hex), and immediately send the escape-carriage return bytes; then a systematic stop of continuous output is likely. If manually sent, beware that the half-duplex nature of the interface corrupt the BS-MC2300 outbound data while attempting to get the stop command interleaved between the data. As noted by the Digital I/O timing specification and Figure 3, the BS-MC2300 has a delayed response feature based on the programmed device ID in response to global address commands (*99….). Each BS-MC2300 will take its turn responding so that units do not transmit simultaneously (no contention). These delays also apply to the RS-232 interface versions of the BS-MC2300.

COMMAND INPUTS

A simple command set is used to communicate with the BS-MC2300. These commands can  be automated; or typed in real-time while running communication software programs, such a windows HyperTerminal.

Command Inputs (1) Response (2) Bytes (3) Description
Format ddWE ddA
ddWE ddB ASCII_ON,
BINARY ON, 9
10 ASCII – Output Readings in BCD ASCII Format (Default)

Binary – Output Readings in Signed 16-bit Binary Format
Output| ddP
ddC
Esc| {x, y, z reading}
{x, y, z stream}
{stream stops}| 7 or 28

0| P = Polled – Output a Single Sample (Default)
C = Continuous – Output Readings at Sample Rate
Escape Key – Stops Continuous Readings
Set/Reset Mode| ddWE ddR=nnn| OK,| 3| Set Sample Rate to nnn Where:
Nnn = 10, 20, 25, 30, 40, 50, 60, 100, 123, or 154
Samples/sec (Default = 20)
Set/Reset Pulse| ddWE ddTN
ddWE ddTF
^ddWE ^ddT| S/R ON,
S/R- OFF,
/Toggle}| 7
8
7 or 8| S/R Mode: TN – ON = Auto S/R Pulses (Default)
TF – OFF = Manual S/R Pulses
ddT Toggles Command (Default = On)
Device ID|
dd]S
dd]R
dd]| SET,
RST,
{Toggle}| 4
4
4| ] Character – Single S/R: JS -> SET = Set Pulse
]R -> RST = Reset Pulse
Toggle Alternates Between Set and Reset Pulse
Baud Rate| *99ID=

ddWE ddlD=nn

| ID= nn,
OK,| 7
3| Read Device ID (Default = 00)
Set Device ID Where nn = 00 to 98
Zero| ^99WE *99 !BR=S

^99WE *99 !BR=F

| OK,
BAUD_9600,
OK,
BAUD= 19,200,| 14
14| Set Baud Rate to 9600 bps (Default)

Set Baud Rate to 19,200 bps

(8 bits, no parity, 1 stop bit)

Zero Reading| ddWE ddZN
ddWE ddZF
ddWE ddZR| ZERO_ON,
ZERO OFF,
{Toggle}| 8
9
8 or 9| Zero Reading Will Store and Use Current as a Negative Offset so That the Output Reads Zero Field •ddZR Toggles Command
Average Reading| ddWE ddVN
ddWE ddVF
ddWE ddV| AVG_ON,
AVG OFF,
{Toggle}| 7
8
7 or 8| The Average Reading for the Current Sample X(N) is:
Xavg=X(N)/2 + X(N-1 )/4 + X(N-2)/8 + X(N-3)/16 +
•ddV Toggles Command
Re-Enter
Response| ddWE ddY
ddWE ddN| OK,
OK,| 3
3| Turn the “Re-Enter” Error Response ON (ddY) or OFF
(
ddN). OFF is Recommended for RS–485 (Default = ON)
Query Setup| ddQ| {See De sc.}| 62-72| Read Setup Parameters. Default: ASCII, POLLED, S/R ON, ZERO OFF, AVG OFF, R ON, ID=00, 20 sps
Default
Settings|
ddWE ddD| OK,
BAUD= 9600,| 14| Change All Command Parameter Settings to Factory Default Values
Restore Settings|
ddWE ddRST| OK,
BAUD=_9600,
or
BAUD= 19,200,| 14
16| Change All Command Parameter Settings to the Last User Stored Values in the EEPROM
Serial Number| •dd#| SER#_nnnn,| 22| Output the HMR2300 Serial Number
Software Version| •ddF| S/Wvers :
nnnn,| 27| Output the HMR2300 Software Version Number
Hardware Version| •ddH| H/Wvers:
nnnn,| 19| Output the HMR2300 Hardware Version Number
Write Enable|
ddWE| OK,| 3| Activate a Write Enable. This is required before
commands: Set Device ID, Baud Rate, and Store
Parameters.
Store Parameters| ddWE ddSP| DONE,
OK,| 8| This wiles all parameter settings to EEPROM. These values will be automatically restored upon power-up.
Too Many Characters| Wrong Entry| Re-enter,| 9| A command was not entered properly or 10 characters were typed after an asterisk (*) and before a .
Missing WE Entry| Write Enable Off| WE_OFF,| 7| This error response indicates that this instruction requires a write enable command immediately before it.

DATA FORMAT

The BS-MC2300 transmits each X, Y, and Z axis as a 16-bit value. The output data format can be either 16-bit signed binary (sign plus 15 bits) or a binary coded decimal (BCD) ASCII characters. The command ddA will select the ASCII format and ddB will select the binary format. The order of ouput for the binary format is Xhi, Xlo, Yhi, Ylo, Zhi, Zlo. The binary format is more efficient for a computer to interpret since only 7 bytes are transmitted. The BCD ASCII format is easiest for user interpretation but requires 28 bytes per reading. There are limitations on the output sample rate (see table below) based on the format and baud rate selected. Examples of both binary and BCD ASCII outputs are shown below for field values between±2 gauss.

Field (gauss) BCD ASCII Value Binary Value (Hex)
High Byte Low Byte
+2.0 30,000 75
+1.5 22,500 57
+1.0 15,000 3A
+0.5 7,500 1D
0.0 00 00
-0.5 -7,500 E2
-1.0 -15,000 C3
-1.5 -22,500 AB
-2.0 -30,000 BA

Binary Format: 7 Bytes

XH | XL | YH | YL | ZH | ZL |
XH = Signed Byte, X axis
XL = Low Byte, X axis
X axis

= Carriage Return (Enter key), Hex Code = 0D **ASCII Format:** 28 Bytes SN | X1 | X2 | CM | X3 | X4 | X5 | SP | SP | SN | Y1 | Y2 | CM | Y3 | Y4 | Y5 | SP | SP | SN | Z1 | Z2 | CM | Z3 | Z4 | Z5 | SP | SP |

The ASCII characters will be readable on a monitor as sign decimal numbers. This format is best when the user is interpreting the readings

PARAMETER SELECTION VERSUS OUTPUT SAMPLE RATE

Sample Rate (sps)| ASCII| Binary| f3dB
(Hz)| Notch
(Hz)| Command Input Rate-min. (msec)
---|---|---|---|---|---
9600| 19,200| 9600| 19,200
10| yes| yes| yes| yes| 17| 50/60| 20
20| yes| yes| yes| yes| 17| 50/60| 20
25| yes| yes| yes| yes| 21| 63/75| 16
30| no| yes| yes| yes| 26| 75/90| 14
40| no| yes| yes| yes| 34| 100/120| 10
50| no| yes| yes| yes| 42| 125/150| 8
60| no| no| yes| yes| 51| 150/180| 7
100| no| no| yes| yes| 85| 250/300| 4
123| no| no| no| yes| 104| 308/369| 3.5
154| no| no| no| yes| 131| 385/462| 3

DEVICE ID

The Device ID command (ddID=nn) will change the BS-MC2300 ID number. A Write Enable (ddWE) command is required before the device ID can be changed. This is required for RS-485 operation when more than one BS-MC2300 is on a network. A Device ID = 99 is universal and will simultaneously talk to all units on a network.

BAUD RATE COMMAND

The Baud Rate command (dd!BR=F or S) will change the BS-MC2300 baud rate to either fast (19,200 baud) or slow (9600 baud). A Write Enable (ddWE) command is required before the baud rate can be changed. The last response after this command has been accepted will be either BAUD=9600 or BAUD=19,200. This will indicate to the user to change to the identified new baud rate before communications can resume.

ZERO READING COMMAND

The Zero Reading command (ddZN) will take a magnetic reading and store it in the BSMC2300’s microcontroller. This value will be subtracted from subsequent readings as an offset. The zero reading will be terminated with another command input(ddZF) or a power down condition. This feature is useful for setting a reference attitude or nulling the earth’s field before anomaly detection.

SET/RESET AND AVERAGE COMMANDS

The set-reset function generates a current/magnetic field pulse to each sensor to realign the perm alloy thin film magnetization. This yields the maximum output sensitivity for magnetic sensing. This pulse is generated inside the BS-MC2300 and consumes less than 1mA typically. The Set/Reset Mode command (ddTN or ddT) activates an internal switching circuit that flips the current in a “Set” and “Reset” condition. This cancels out any temperature drift effects and ensures the sensors are operating in their most sensitive region. Fluctuations in the magnetic readings can be reduced by using the Average Readings commands (ddVN or ddV). These commands provide a low pass filter effect on the output readings that reduces noise due to Set/Reset switching and other environmental magnetic effects. The two figures below show the average readings effect for step and impulse responses. Switching the set- reset state is not required to sense magnetic fields. A single Set (or Reset) pulse will maximize the output sensitivity and it will stay that way for months or years. To turn off the internal switching, enter the command ddTF or ddT. In this state the sensors are either in a Set or Reset mode. If the BS-MC2300  is exposed to a large magnetic field (>10 gauss), then another set pulse is required to maximize output sensitivity. In the Set mode, the direction of the sensitive axis’ are shown on the enclosure label and the board dimensions figure. In the Reset mode, the sensitive field directions are opposite to those shown. By typing *dd], the user can manually activate a Set or Reset pulse. The S/R pulse commands can be used the continuous read mode to flip between a Set and Reset state. Note that the first three readings immediately after these commands will be invalid due to the uncertainty of the current pulse to the sensor sample time.
Set/reset And Average Commands

DEFAULT AND RESTORE COMMANDS

The Defaut Settings command (ddD) will force the BS-MC2300 to all the default parameters. This will not be a permanent change unless a Store Parameter command (ddSP) is issued after the Write Enable command. The Restore Settings command (*ddRST) will force the BS-MC2300 to all the stored parameters in the EEPROM.

OUTPUT SAMPLE RATES

The sample rate can be varied from 10 samples per second (sps) to 154 sps using the *ddR=nnn command. Each sample contains an X, Y, and Z reading and can be outputted in either 16-bit signed binary or binary coded decimal (BCD) ASCII. The ASCII format shows the standard numeric characters displayed on the host computer display. Some sample rates may have restrictions on the format and baud rate used, due to transmission time constraints. There are 7 Bytes transmitted for every reading binary format and 28 Bytes per reading in ASCII format. Transmission times for 9600 baud are about 1 msec/Byte and for 19,200 baud are about 0.5msec/ Byte. The combinations of format and and baud rate selections are shown in the above Table. The default setting of ASCII format and 9600 baud will only transmit correctly up to 30 sps. Note the BS-MC2300 will output a higher data settings, but the readings may be incorrect and will be at a lower output rate than selected. For higher sample rates (>60 sps), it is advised that host computer settings for the terminal preferences be set so a line feed is not appended to the sent commands. This slows down the reception of data, and it will not be able to keep up with the incoming data stream.

INPUT SIGNAL ATTENUATION

Magnetic signals being measured will be attenuated based on the sample rate selected. The bandwidth, defined by the 3dB point, is shown in the above Table for each sample rate. The default rate of 20 sps has a bandwidth of 17Hz. The digital filter inside the BS-MC2300 is the combination of a comb filter and a low pass filter. This provides a linear phase response with a transfer function that has zeros in it. When the 10 or 20 sps rate is used, the zeros are at the line frequencies of 50 and 60 Hz. These zeros provide better than 125 dB rejection. All multiples of the zeros extend throughout the transfer function. For example, the 10 and 20 sps rate has zeros at 50, 60, 100, 120, 150, 180, … Hz. The multiples of the zeros apply to all the sample rates against the stated notch frequencies in the above Table.

COMMAND INPUT RATE

The BS-MC2300 limits how fast the command bytes can be received based on the sample rate selected. The above Table shows the minimum time between command bytes for the BS-MC2300 to correctly read them. This is usually not a problem when the user is typing the commands from the host computer. The problem could arise from an application program outputting command bytes too quickly

CIRCUIT DESCRIPTION

The BS-MC2300 Smart Digital Magnetometer contains all the basic sensors and electronics to provide digital indication of magnetic field strength and direction. The BS-MC2300 has all three axis of magnetic sensors on the far end of the printed circuit board, away from the J1 and J2 connector interfaces. The BS-MC2300 uses the circuit board mounting holes or the enclosure surfaces as the reference mechanical directions. The complete BS-MC2300 PCB assembly consists of a mother board, daughter board, and the 9-pin D-connector (J1). The BS-MC2300 circuit starts with 3-Axis Magnetic Sensor Hybrid to provide X, Y, and Z axis magnetic sensing of the earth’s field. The sensor contains the AMR sensing bridge elements, a constant current source bridge supply, three precision instrumentation amplifiers, and factory hand-selected trim resistors optimized for performance for magnetic field gain and offset. This sensor is a daughter board that plugs into the motherboard, and the hybrid analog voltages from each axis is into analog multiplexors and then into three 16-bit Analog to Digital Converters (ADCs) for digitization. No calibration is necessary as the sensor and motherboard hybrid contains all the compensation for the sensors, and the set/reset routine handles the temperature drift corrections. A microcontroller integrated circuit receives the digitized magnetic field values (readings) by periodically querying the ADCs and performs any offset corrections. This microcontroller also performs the external serial data interface and other housekeeping functions. An onboard EEPROM integrated circuit is employed to retain necessary setup variables for best performance. The power supply for the BS-MC2300 circuit is regulated +5 volt design (LM2931M) with series polarity power inputs diodes in case of accidental polarity reversal. A charge pump circuit is used to boost the regulated voltage for the set/reset pulse function going to the set/ reset straps onboard the Magnetic Sensor Hybrid. Transient protection absorbers are placed on the TD, RD, and V+ connections to J1.

APPLICATIONS PRECAUTIONS

Several precautions should be observed when using magnetometers in general:

  • The presence of ferrous materials, such as nickel, iron, steel, and cobalt near the magnetometer will create disturbances in the earth’s magnetic field that will distort the X, Y, and Z field measurements.
  • The presence of the earth’s magnetic field must be taken into account when measuring other magnetic fields.
  • The variance of the earth’s magnetic field must be accounted for in different parts of the world. Differences in the earth’s field are quite dramatic between North America, South America and the Equator region.
  • Perming effects on the BS-MC2300 circuit board need to be taken into account. If the BS-MC2300 is exposed to fields greater than 10 gauss, then it is recommended that the enclosure/circuit boards be degaussed for highest sensitivity and resolution. A possible result of perming is a high zero-field output indication that exceeds specification limits. Degaussing wands are readily available from local electronics tool suppliers and are inexpensive. Severe field offset values could result if not degaussed.

NON-FERROUS MATERIALS

Materials that do not affect surrounding magnetic fields are: copper, brass, gold, aluminum, some stainless steels, silver, tin, silicon, and most non- metals.

HANDLING PRECAUTIONS

The BS-MC2300 Smart Digital Magnetometer measures fields within 2 gauss in magnitude with better than 0.1 milli gauss resolution. Computer floppy disks (diskettes) store data with field strengths of approximately 10 gauss. This means that the BS-MC2300 is many times more sensitive than common floppy disks. Please treat the magnetometer with at least the same caution as your diskettes by avoiding motors, CRT video monitors, and magnets. Even though the loss of performance is recoverable, these magnetic sources will interfere with measurements.

DEMONSTRATION PCB MODULE KIT

The BS-MD2300 Demonstration Kit includes additional hardware and Windows software to form a development kit for with the smart digital magnetometer. This kit includes the BS-MC2300 PCB and enclosure, serial port cable with attached AC adapter power supply, and demo software plus documentation on a compact disk (CD). The figure below shows the schematic of the serial port cable with integral AC adapter. There will be three rotary switches on the AC adapter. These should be pointed towards the positive (+) polarity, +9 volts, and 120 or 240 VAC; depending your domestic supply of power.
Demonstration Pcb Module Kit

ORDERING INFORMATIOIN

Ordering number : Products

BS-MC2300-0-232 :PCB Only (No Enclosure), RS-232 I/O
BS-MC2300-0-485 :PCB Only (No Enclosure), RS-485 I/O
BS-MC2300-20-232 :Flush-Base Enclosure, RS-232 I/O
BS-MC2300-20-485 :Flush-Base Enclosure, RS-485 I/O
BS-MC2300-21-232 :Extended-Base Enclosure, RS-232 I/O
BS-MC2300-21-485 :Extended-Base Enclosure, RS-485 I/O
BS-MD2300-20-232 :Demo Kit, Flush-Base Enclosure, RS-232 I/O
BS-MD2300-21-232 :Demo Kit, Extended-Base Enclosure, RS-232 I/O

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals