Intelligent digital display measuring device with multiple protocols
By designing an intelligent digital display measurement device with multiple protocols, the problem of lack of absolute encoder digital display measurement device supporting SSI and BISS-C protocols in the prior art is solved, and the access to sensors of multiple protocols is realized and data processing, suitable for digital display of coordinate position of precision equipment.
Patent Information
- Application Number
- CN202411619397.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-02-25
AI Technical Summary
The lack of absolute encoder digital measurement devices that support SSI and BISS-C protocols in the prior art have resulted in the inability of sensors of these protocols to be directly used for digital measurement displays.
A smart digital display measurement device with multiple protocols is designed, using sensors of microcontroller SOC, induction synchronizer or rotation transformer, orthogonal square wave encoder, SSI and BISS-C protocols, through solver module and segmentation and technical means such as counting circuits, differential sending and receiving circuits to realize the access and data processing of sensors of various protocols.
It realizes compatibility with sensors of multiple protocols, can accurately read and display the position value of the sensor, and is suitable for digital display and setting of coordinate position of precision rotary tables, machine tools and other products.
Smart Images

Figure CN119501677A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of digital display measurement systems, and in particular to an intelligent digital display measurement device with multiple protocols. Background Art
[0002] High-precision precision machine tools and high-precision precision measuring instruments are the basis for various machines to obtain precision as working machines and measuring machines, and their own precision depends on basic mechanical technologies such as length, angle roundness, and geometric accuracy. Among them, length measurement and angle measurement are the accuracy of position measuring elements and their readout accuracy. In the field of length and angle measurement and display, various existing sensors have dedicated digital display measuring devices, such as induction synchronizer digital display measuring devices, grating digital display measuring devices, etc. In recent years, the absolute encoder has been increasingly widely used in angle, length measurement and positioning control in various industrial systems because each position is absolutely unique and does not require power-off memory. However, most absolute encoders use SSI and BISS-C protocols. At present, there is no digital display measuring device that directly supports absolute encoders using SSI and BISS-C protocols. Therefore, the present invention mainly solves the problem of using displacement sensors such as induction synchronizers, orthogonal square wave encoders, SSI and BISS-C protocols for digital measurement and display. Summary of the invention
[0003] In order to overcome the above technical problems, the purpose of the present invention is to provide an intelligent digital display measuring device with multiple protocols, which is intelligent and can be connected to multiple sensors.
[0004] The technical solution adopted by the present invention is:
[0005] An intelligent digital display measuring device with multiple protocols, including a single chip microcomputer SOC, an induction synchronizer or a rotary transformer, an orthogonal square wave encoder, and sensors of SSI and BISS-C protocols;
[0006] The induction synchronizer or rotary transformer converts the induction synchronizer signal or rotary transformer into a digital signal through a resolver module, which is processed by a single-chip microcomputer and then sent to a liquid crystal touch screen for output display;
[0007] The orthogonal square wave encoder is sampled by the single chip microcomputer after being subdivided and counted by the circuit, and then sent to the LCD touch screen for output display after processing;
[0008] The SSI and BISS-C protocol sensors pass through the differential sending and receiving circuits, and the SSI and BISS-C protocol timing is simulated by the single-chip microcomputer to read out the position values of the SSI and BISS-C protocol sensors, which are then sent to the LCD touch screen for output display after processing.
[0009] In the induction synchronizer, the sine wave generating circuit generates a 20KHz sine wave (Vr=Vp×Sin(ωt)), which is applied to the continuous winding (rotor) of the induction synchronizer after power amplification for induction synchronizer excitation, and the segmented winding (stator) induction outputs two signals:
[0010] 1: Va=Vs×Sin(ωt)×Cos(θ)
[0011] 2: Vb=Vs×Sin(ωt)×Sin(θ)
[0012] Among them, R1 and R2 are the rotor windings of the induction synchronizer, S1 and S2 are the stator sine windings of the induction synchronizer, S3 and S4 are the stator cosine windings of the induction synchronizer, θ is the relative displacement between the stator and rotor of the induction synchronizer, Vr is the excitation signal of the induction synchronizer, Va is the induction signal of the cosine winding of the induction synchronizer, Vb is the induction signal of the sine winding of the induction synchronizer, Vs is the amplitude of the induction signal, and Vp is the amplitude of the excitation signal.
[0013] The two lead wires of the SIN winding in the induction synchronizer stator after being connected in series are S1 and S2, and the two lead wires of the COS winding after being connected in series are S3 and S4;
[0014] The two lead wires of the winding in the induction synchronizer rotor are R1 and R2;
[0015] The stator and rotor are installed in parallel (gap 0.025mm).
[0016] The induction synchronizer includes three signals, namely, a cosine signal waveform of the induction synchronizer, a sine signal waveform of the induction synchronizer, and a reference signal waveform;
[0017] The three-way signal input is converted into a binary value by the solver, and then sampled and processed by the single-chip microcomputer and sent to the LCD touch screen to display the precise displacement position.
[0018] The orthogonal square wave encoder includes a grating sensor, which obtains four sinusoidal signals with a phase difference of 90 degrees through a photoelectric element, outputs two orthogonal square waves through a shaping circuit, counts the counter through a four-step subdivision circuit, and the count value of the counter is sampled by a single-chip microcomputer to obtain the binary numerical position value of the encoder, which is sent to a liquid crystal touch screen to display the precise displacement position after being processed by the single-chip microcomputer.
[0019] In the SSI protocol sensor, SSI data reading timing
[0020] 1. At the first falling edge of the Clock signal, the data is converted into parallel or serial data and sent to the memory, and the data is ready to be output.
[0021] 2. The first rising edge of the clock transmits the MSB of the memory data to the data signal line.
[0022] 3. The clock signal is at the falling edge (the signal is in a stable state), and the controller (microcontroller) obtains the required data from the data signal line.
[0023] 4. With the arrival of the rising edge, the data are read out one by one until the last bit is transmitted. The data line jumps to a low level for Tm time, and the monostable circuit recovers.
[0024] 5. Once the monostable circuit restores the data signal to a high level, the monostable circuit stops working and data is not output.
[0025] Where Tm: The time interval for the encoder to recognize the completion of data transmission (20μs—+∞)
[0026] Tp: Delay between two consecutive clocks (should be greater than 21μs)
[0027] Twmax: 19μs. When Tw is less than this time, data collection can be performed continuously and the data is consistent.
[0028] In the sensor of the BISS-C protocol, in the BISS-C communication frame in point-to-point networking, Clock is sent by the Master to drive communication, Data is the data signal sent by the Slave, and the completion of one BiSS-C communication frame means that the Master has received one frame of data;
[0029] IDLE, StartFrame, Tranmission, Timeout. BiSS-C communication is idle, MA and SL remain high;
[0030] ①StartFrame, start frame communication, MA sends clock, at the first rising edge of MA, Slave latches the sensor state. At the second rising edge of MA, the encoder pulls SL low to respond to the communication request of Master;
[0031] ②Tranmission, (send)
[0032] When the SL signal is pulled down from the normal high level, it is maintained for a period of time. This period of time is called ACK, which means that the Slave has responded to the MA signal and is preparing data. Usually, ACK lasts between 0.1μs and 8μs, which is related to whether the Slave data is ready. For a specific Slave, the length of its ACK is basically fixed. During the ACK period, MA continuously outputs pulses; when SL sends a 1-bit START bit (normally '1'), it means that the Slave data is ready. Start sending data.
[0033] Beneficial effects of the present invention
[0034] The present invention mainly focuses on the conversion of SSI and BISS-C protocols, cooperates with differential sending and receiving circuits, uses the MCU IO port analog protocol conversion to read the sensor displacement code, and then sends it to the LCD touch screen to display the position after processing by the MCU. This product can be used with displacement sensors such as circular time grids and circular induction synchronizers for digital display and setting of coordinate positions of products such as precision turntables and machine tools. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 This is the overall principle block diagram of the digital display measuring device.
[0036] Figure 2 This is the principle model diagram of the induction synchronizer.
[0037] Figure 3 This is the waveform diagram of the induction synchronizer.
[0038] Figure 4 This is the SSI protocol timing diagram.
[0039] Figure 5 This is the BISS-C timing diagram.
[0040] FIG6 is a schematic diagram of a circuit diagram of the present invention; Figure 6a This is the circuit schematic diagram of induction synchronizer channel 1. Figure 6b This is the circuit schematic diagram of induction synchronizer channel 2. Figure 6c This is the schematic diagram of the microcontroller circuit. Figure 6d This is the circuit diagram of the power supply and LCD touch screen communication interface.
[0041] Figure 7 This is the schematic diagram of the circuit of the square wave encoder.
[0042] Figure 8 This is the schematic diagram of some circuits of SSI and BISS-C protocols.
[0043] Fig. 9 Schematic diagram of the induction synchronizer stator.
[0044] Fig.10 Schematic diagram of the induction synchronizer rotor. DETAILED DESCRIPTION
[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0046] 1. Overall principle block diagram
[0047] Attached Figure 1 , with the single-chip microcomputer SOC as the core, for the inductive synchronizer, the resolver module converts the inductive synchronizer signal into a digital signal, which is processed by the single-chip microcomputer and sent to the LCD touch screen for output display;
[0048] For the orthogonal square wave encoder, after subdivision and counting circuit, the single chip microcomputer samples and processes it, and then sends it to the LCD touch screen for output display;
[0049] For sensors of SSI and BISS-C protocols, after passing through the differential transmission and reception circuit, the single chip microcomputer simulates the SSI and BISS-C protocol timing, thereby reading the position value of the sensor of SSI and BISS-C protocol, and sending it to the LCD touch screen for output display after processing. The circuit schematic diagram is attached Figure 6a , Attachment Figure 6b , Attachment Figure 6c , Attachment Figure 6d Composition. Figure 6a This is the circuit schematic diagram of the induction synchronizer channel 1, attached Figure 6b This is the circuit schematic diagram of the induction synchronizer channel 2, attached Figure 6c The schematic diagram of the single chip microcomputer circuit is attached. Figure 6d It is the circuit diagram of the power supply and LCD touch screen communication interface. The signals with the same labels in each circuit diagram are connected together. Figure 6 shows the wiring of the actual printed circuit board according to the schematic diagram.
[0050] 2. The working principle of the induction synchronizer is as follows:
[0051] The sine wave generator generates a 20KHz sine wave (Vr = Vp × Sin (ωt), which is applied to the continuous winding (rotor) of the induction synchronizer after power amplification, and the segmented winding (stator) induction outputs two signals:
[0052] 1: Va=Vs×Sin(ωt)×Cos(θ)
[0053] 2: Vb=Vs×Sin(ωt)×Sin(θ)
[0054] Schematic diagram of the induction synchronizer principle model Figure 2 , where R1 and R2 are the rotor windings of the induction synchronizer, S1 and S2 are the stator sine (SIN) windings of the induction synchronizer, and S3 and S4 are the stator cosine (COS) windings of the induction synchronizer. θ is the relative displacement between the stator and rotor of the induction synchronizer.
[0055] Signal waveform diagram( Figure 3): S3ToS4 (COS) is the cosine signal waveform of the induction synchronizer, S1ToS2 (SIN) is the sine signal waveform of the induction synchronizer, and R2ToR4 (REF) is the reference signal waveform.
[0056] As attached Fig. 9 , Attachment Fig.10 As shown, the two lead wires after the SIN windings in the induction synchronizer stator are connected in series are S1 and S2, and the two lead wires after the COS windings are connected in series are S3 and S4;
[0057] The two lead wires of the winding in the induction synchronizer rotor are R1 and R2;
[0058] Stator (with Fig. 9 ) and (Attached Fig.10 ) parallel installation (gap 0.025mm).
[0059] These three signals are input into the resolver's dedicated integrated circuit and converted into binary values. After being sampled and processed by the microcontroller, they are sent to the LCD touch screen to display the precise displacement position.
[0060] Attached Figure 6a This is the circuit schematic diagram of the induction synchronizer channel 1, attached Figure 6b This is the circuit schematic diagram of the inductive synchronizer channel 2. The actual printed circuit board is wired according to the schematic diagram shown in the figure.
[0061] 3. Orthogonal square wave encoder
[0062] The grating sensor obtains four sinusoidal signals with a phase difference of 90 degrees through the photoelectric element, and outputs two orthogonal square waves through the shaping circuit. The counter is counted by the four-division circuit, and the count value of the counter is sampled by the single-chip microcomputer to obtain the binary numerical position value of the encoder. After being processed by the single-chip microcomputer, it is sent to the touch screen to display the precise displacement position.
[0063] Circuit diagram attached Figure 8 , the actual printed circuit board is wired according to the schematic diagram shown in the figure.
[0064] 4. SSI Communication Protocol
[0065] Attached Figure 4 , SSI data read timing
[0066] 1. At the first falling edge of the Clock signal, the data is converted into parallel or serial data and sent to the memory, and the data is ready to be output.
[0067] 2. The first rising edge of the clock transmits the MSB of the memory data to the data signal line.
[0068] 3. The clock signal is at the falling edge (the signal is in a stable state), and the controller (microcontroller) obtains the required data from the data signal line.
[0069] 4. With the arrival of the rising edge, the data are read out one by one until the last bit is transmitted. The data line jumps to a low level for Tm time, and the monostable circuit recovers.
[0070] 5. Once the monostable circuit restores the data signal to a high level, the monostable circuit stops working and data is not output.
[0071] Where Tm: The time interval for the encoder to recognize the completion of data transmission (20μs—+∞)
[0072] Tp: Delay between two consecutive clocks (should be greater than 21μs)
[0073] Twmax: 19μs. When Tw is less than this time, data collection can be performed continuously and the data is consistent.
[0074]
[0075]
[0076] Implementation method: MCU IO port simulates SSI protocol timing.
[0077] Circuit diagram attached Fig. 9 , the actual printed circuit board is wired according to the schematic diagram. The C program is as follows:
[0078] unsigned long bdata Position;
[0079] void Read_PositionSSI(void)
[0080] {charj,k;
[0081] Position = 0;
[0082] P14=0; / / Clock outputs low level
[0083] P14=1;
[0084] for(k=0;k<26;k++) / / 26Bit data read and conversion
[0085] {
[0086] for(j=0;j<10;j++); / / delay
[0087] P14=1; / / Clock output high level
[0088] P17=1;
[0089] for(j=0;j<5;j++); / / delay
[0090] Position^0=P17; / / read data
[0091] Position=Position<<1; / / data left shift, serial / parallel data conversion
[0092] for(j=0;j<5;j++); / / delay
[0093] P14=0; / / Clock outputs low level
[0094] }
[0095] }
[0096] Among them, P14=Clock, P17=Data.
[0097] 5. BISS-C Communication Protocol
[0098] Attached Figure 5 This describes the BISS-C communication frame in point-to-point networking. Clock is sent by the Master to drive communication, and Data is the data signal sent by the Slave. Completing one BiSS-C communication frame means that the Master has received one frame of data.
[0099] IDLE, StartFrame, Tranmission, Timeout. BISS-C communication is idle, MA and SL remain high.
[0100] ①StartFrame, start frame communication, MA sends clock, at the first rising edge of MA, Slave latches the sensor state. At the second rising edge of MA, the encoder pulls SL low to respond to the communication request of Master.
[0101] ②Tranmission, (send)
[0102] When the SL signal is pulled down from the normal high, it is maintained for a period of time. This period of time is called ACK, which means that the Slave has responded to the MA signal and is preparing data. Usually ACK lasts between 0.1μs and 8μs, which is related to whether the Slave data is ready. For a specific Slave, the length of its ACK is basically fixed. During ACK, MA continues to output pulses. When SL sends a START bit of 1 BIT (usually '1'), it means that the Slave data is ready. Start sending data.
[0103] The data includes:
[0104] (1) 1-bit CDS signal
[0105] (2) 1 SCD (length must be greater than 4 bits and less than 64 bits)
[0106] The field length Slave is specified by the manufacturer, and the time grid is 26 bits of position coding, 2 bits of error warning and 6 bits of CRC check). During this period, the MA continues to output pulses.
[0107] The error alarms of two bits are shown in the attached Figure 5 The Error bit and the Worn bit are followed by the 6-bit CRC check.
[0108] ③Timeout, (timeout)
[0109] After the SCD is sent, SL maintains a low level for 0.5 to 40 μs. This period of time is called Timeout. For specific applications, Timeout is specified by the Slave manufacturer. MA sends CDM signal during Timeout, which is maintained until SL is pulled high. After SL is pulled high, the communication is completely completed.
[0110]
[0111]
[0112] Implementation method: MCU IO port simulates BISS-C protocol timing. Schematic diagram attached Fig. 9 :
[0113] The C program is as follows:
[0114]
[0115]
[0116]
[0117] Among them, P14=Clock, P17=Data.
Claims
1. An intelligent digital display measuring device with multiple protocols, characterized in that: Including single-chip microcomputer SOC, induction synchronizer or rotary transformer, orthogonal square wave encoder, SSI and BISS-C protocol sensors; The induction synchronizer or rotary transformer converts the induction synchronizer signal or rotary transformer into a digital signal through a resolver module, which is processed by a single-chip microcomputer and then sent to a liquid crystal touch screen for output display; The orthogonal square wave encoder is sampled by the single chip microcomputer after being subdivided and counted by the circuit, and then sent to the LCD touch screen for output display after processing; The SSI and BISS-C protocol sensors pass through the differential sending and receiving circuits, and the SSI and BISS-C protocol timing is simulated by the single-chip microcomputer to read out the position values of the SSI and BISS-C protocol sensors, which are then sent to the LCD touch screen for output display after processing.
2. The intelligent digital display measuring device with multiple protocols according to claim 1, characterized in that: In the induction synchronizer, the sine wave generating circuit generates a 20KHz sine wave (Vr=Vp×Sin(ωt)), which is applied to the continuous winding (rotor) of the induction synchronizer after power amplification for induction synchronizer excitation, and the segmented winding (stator) induction outputs two signals: (1): Va=Vs×Sin(ωt)×Cos(θ) (2): Vb=Vs×Sin(ωt)×Sin(θ) Among them, R1 and R2 are the rotor windings of the induction synchronizer, S1 and S2 are the stator sine windings of the induction synchronizer, S3 and S4 are the stator cosine windings of the induction synchronizer, θ is the relative displacement between the stator and rotor of the induction synchronizer, Vr is the excitation signal of the induction synchronizer, Va is the induction signal of the cosine winding of the induction synchronizer, Vb is the induction signal of the sine winding of the induction synchronizer, Vs is the amplitude of the induction signal, and Vp is the amplitude of the excitation signal.
3. The intelligent digital display measuring device with multiple protocols according to claim 2, characterized in that: The two lead wires of the SIN winding in the induction synchronizer stator after being connected in series are S1 and S2, and the two lead wires of the COS winding after being connected in series are S3 and S4; The two lead wires of the winding in the induction synchronizer rotor are R1 and R2; The stator and rotor are installed in parallel with a gap of 0.025mm.
4. The intelligent digital display measuring device with multiple protocols according to claim 1, characterized in that: The induction synchronizer includes three signals, namely, a cosine signal waveform of the induction synchronizer, a sine signal waveform of the induction synchronizer, and a reference signal waveform; The three-way signal input is converted into a binary value by the solver, and then sampled and processed by the single-chip microcomputer and sent to the LCD touch screen to display the precise displacement position.
5. The intelligent digital display measuring device with multiple protocols according to claim 1, characterized in that: The orthogonal square wave encoder includes a grating sensor, which obtains four sinusoidal signals with a phase difference of 90 degrees through a photoelectric element, outputs two orthogonal square waves through a shaping circuit, counts the counter through a four-step subdivision circuit, and the count value of the counter is sampled by a single-chip microcomputer to obtain the binary numerical position value of the encoder, which is sent to a liquid crystal touch screen to display the precise displacement position after being processed by the single-chip microcomputer.
6. The intelligent digital display measuring device with multiple protocols according to claim 1, characterized in that: In the sensor of the SSI protocol, the SSI data reading timing is: (1). At the first falling edge of the Clock signal, the data is converted from parallel to serial and sent to the memory, and the data is ready for output. (2) The first rising edge of the clock transmits the MSB of the memory data to the data signal line. (3) When the clock signal is at the falling edge (the signal is in a stable state), the controller (microcontroller) obtains the required data from the data signal line.
4. With the arrival of the rising edge, the data are read out one by one until the last bit is transmitted. The data line jumps to a low level for Tm time, and the monostable circuit recovers.
5. Once the monostable circuit restores the data signal to a high level, the monostable circuit stops working and data is not output. in, Tm: The time interval for the encoder to recognize the completion of data transmission (20μs—+∞) Tp: Delay between two consecutive clocks (should be greater than 21μs) Twmax: 19μs. When Tw is less than this time, data collection can be performed continuously and the data is consistent.
7. The intelligent digital display measuring device with multiple protocols according to claim 1, characterized in that: In the sensor of the BISS-C protocol, in the BISS-C communication frame in point-to-point networking, Clock is sent by the Master to drive communication, Data is the data signal sent by the Slave, and the completion of one BiSS-C communication frame means that the Master has received one frame of data; IDLE, StartFrame, Tranmission, Timeout. BiSS-C communication is idle, MA and SL remain high; ①StartFrame, start frame communication, MA sends clock, at the first rising edge of MA, Slave latches the sensor state. At the second rising edge of MA, the encoder pulls SL low to respond to the communication request of Master; ②Tranmission, (send) When the SL signal is pulled down from the normal high level, it is maintained for a period of time. This period of time is called ACK, which means that the Slave has responded to the MA signal and is preparing data. Usually, ACK lasts between 0.1μs and 8μs, which is related to whether the Slave data is ready. For a specific Slave, the length of its ACK is basically fixed. During the ACK period, MA continuously outputs pulses; when SL sends a 1-bit START bit (normally '1'), it means that the Slave data is ready. Start sending data.