A low-power digital caliper and data transmission method thereof
By setting the sampling button component on the displacement detection component of the digital caliper, the MCU and wireless module are only awakened for data transmission when needed, which solves the problem of high power consumption of the wireless module and realizes a low-power design that shares the battery with the sensor module. , extending device usage time and improving battery efficiency.
Patent Information
- Application Number
- CN202011195249.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-10-30
AI Technical Summary
The wireless module of the existing digital caliper consumes a lot of power, resulting in poor battery durability. It is difficult to build it inside the measuring tool and share the battery with the sensor module, and the battery needs to be replaced frequently.
A low-power digital caliper is designed. By setting a sampling button component on the displacement detection component, it only wakes up the MCU control module and built-in wireless module for data transmission when needed. It adopts a sleep state to reduce power consumption and installs a key on the motherboard. Multiple gold finger arrays are provided on the device to match different interfaces.
It effectively reduces the power consumption of the built-in wireless module, allowing it to share the battery with the sensor module, extending the use time, improving battery usage efficiency, and having strong interface matching capabilities.
Smart Images

Figure CN112229291B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of distance detection devices, and in particular relates to a low-power digital caliper and a data transmission method thereof. Background Art
[0002] A digital caliper is a measuring tool for measuring length, inner and outer diameters, and depth. It has the characteristics of intuitive reading, easy use, and diverse functions. In addition, a data acquisition instrument can be directly connected to the digital caliper to achieve efficient measurement of the length, inner and outer diameters, and depth of parts.
[0003] At present, there are two ways to connect a digital caliper to a data acquisition instrument: wired and wireless. The wired method is to directly open an interface on the digital caliper and connect it to a data cable for data acquisition; the wireless method is to collect the data of the digital caliper through an externally plugged-in wireless module and then transmit it wirelessly to the data acquisition instrument, such as the case disclosed in patent application number: 99110663.6, invention name: Signaling device for measuring instrument, which uses an external wireless transmitting terminal.
[0004] Currently, most of the wireless transmitters on the market are external transmitters. Due to the complex circuits, large number of components, and relatively large size, they are difficult to be built into measuring tools.
[0005] In addition, wireless transmitters generally consume a lot of power, and it is difficult to make them built-in and placed inside the measuring tool to share the battery with the sensor module. However, even if they are powered by an independent CR2032 battery in an external form, the battery will often be exhausted in about a week to half a month, and the battery needs to be replaced frequently, which brings trouble to users. Summary of the invention
[0006] In order to solve the problem that the wireless module of a digital caliper consumes a lot of energy and causes the battery to be short-lived, the present invention provides a low-power digital caliper and a data transmission method thereof.
[0007] The present invention adopts the following technical solution:
[0008] A low-power digital caliper, comprising:
[0009] Ruler body;
[0010] A ruler frame, slidably arranged on the ruler body;
[0011] A displacement detection component with an interface module is arranged on the ruler frame and is used to detect the displacement change of the ruler frame on the ruler body;
[0012] It also includes: a built-in wireless module, which is arranged in the displacement detection component;
[0013] And a sampling button component is plugged and connected to the interface module of the displacement detection component and provides a sampling wake-up signal for waking up the built-in wireless module.
[0014] Optionally, the displacement detection component includes: a mainboard provided with a sensor module, an MCU control module and a built-in wireless module, the MCU control module is electrically connected to the sensor module, the built-in wireless module and the interface module respectively, the sensor module is used to sense the displacement change of the scale frame to generate measurement data, the MCU control module controls the operation of each part, and the built-in wireless module is used to wirelessly match with an external receiving module of an external detection device and transmit data wirelessly.
[0015] Optionally, the sampling button assembly includes: a data interface for connecting the interface module to obtain signals and power, an LED sampling feedback indicator for displaying the matching status of the built-in wireless module and the external receiving module, and a button switch for providing a sampling wake-up signal, and the LED sampling feedback indicator and the button switch are both connected to the interface module via the data interface.
[0016] Optionally, the interface module includes: a USB socket or an SPC socket.
[0017] Optionally, the built-in wireless module includes: a Bluetooth module.
[0018] Optionally, a display module and a battery compartment are also provided on the main board.
[0019] Optionally, a first gold finger array portion and a second gold finger array portion are respectively arranged at corresponding interface module positions on the mainboard, the first gold finger array portion is arranged at an edge of the mainboard, and the second gold finger array portion is arranged adjacent to the first gold finger array portion and is located on the side of the first gold finger array portion opposite to the edge of the mainboard.
[0020] Optionally, the first gold finger array portion is electrically connected to an SPC socket or an external data line interface, and the second gold finger array portion is electrically connected to a USB socket or a sampling button assembly.
[0021] A low-power digital caliper data transmission method, the method specifically comprises the following steps:
[0022] S1. Press the sampling button to send a sampling wake-up signal to wake up the MCU control module. The MCU control module applies to the sensor module to send data. The MCU control module pulls the data application line to a low level to apply to the sensor module to send data.
[0023] S2: When the MCU control module reads a set of data, it immediately pulls the data request line to a high level, so that the sensor module stops sending data to the outside to save power consumption;
[0024] S3, after the MCU control module reads the data, it immediately wakes up the built-in wireless module from the sleep state, and then sends data to the built-in wireless module through the serial port;
[0025] S4, after receiving the data, the built-in wireless module sends the data to the external receiving module, and detects whether the feedback information of the external receiving module is received;
[0026] When feedback information is received, the process proceeds to step S5; if feedback information is not received, the process proceeds to step S6;
[0027] S5, the built-in wireless module receives the feedback information from the external receiving module, and the information is sent successfully. At this time, the built-in wireless module sends feedback information to the MCU control module through the serial port. After receiving the information, the MCU control module controls the built-in wireless module to sleep, and controls the LED sampling feedback indicator to display in the first display mode and then enters sleep;
[0028] S6. If the built-in wireless module does not receive feedback information from the external receiving module, the information transmission fails. At this time, the built-in wireless module feeds back the information of the transmission failure to the MCU control module. The MCU control module first controls the built-in wireless module to enter sleep mode, and then controls the LED sampling feedback indicator to light up for seconds according to the second display mode, and then enters sleep mode itself, waiting for the next round of wake-up.
[0029] Optionally, the first display mode is flashing once, and the second display mode is constantly on for 3 seconds.
[0030] The beneficial effect of the present invention is that the sampling wake-up signal is provided by the externally plugged sampling button component, and the MCU control module is awakened only when needed to read the data of the sensor module and transmit it outward through the built-in wireless module, which can greatly reduce the power consumption of the built-in transmitter, so that it can share the battery with the sensor module and can be used for a long time. The data transmission method can keep the sensor module, MCU control module and built-in wireless module in a dormant low-power state, and wake them up when wireless data transmission is required, reducing power consumption in the non-working state and effectively improving battery use efficiency. In addition, the mainboard is provided with multiple gold finger array parts that can match different interface sockets as needed to match different structures, and has strong compatibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a schematic diagram of the structure of the present invention;
[0032] Figure 2 It is a schematic diagram of the internal structure of the present invention;
[0033] Figure 3 This is a schematic diagram of the structure of the sampling button assembly of the present invention;
[0034] Figure 4 This is a structural block diagram of the mainboard and sampling button assembly of the present invention;
[0035] Figure 5This is a schematic diagram of the wired connection method of the structure of the present invention;
[0036] Figure 6 It is a flowchart of the low-power digital caliper data transmission method of the present invention;
[0037] Figure 7 It is a schematic diagram of the first gold finger array portion and the second gold finger array portion of the present invention. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0039] Embodiment 1:
[0040] like Figure 1 As shown, a low-power digital caliper comprises:
[0041] Ruler body 1;
[0042] A ruler frame 2 is slidably arranged on the ruler body 1;
[0043] A displacement detection component 3 having an interface module 323, which is arranged on the ruler frame 2 and is used to detect the displacement change of the ruler frame 2 on the ruler body 1;
[0044] It also includes: a built-in wireless module 324, which is arranged in the displacement detection component 3;
[0045] And the sampling button component 4 is plugged into the interface module 323 of the displacement detection component 3 and provides a sampling wake-up signal for waking up the built-in wireless module 324.
[0046] like Figure 2 As shown, the displacement detection assembly 3 includes: a shell 31 and a main board 32 arranged inside the shell 31, and the shell 31 provides protection for the internal structure.
[0047] like Figure 2 , 4 As shown, the main board 32 is also provided with a sensor module 321, an MCU control module 322 and a built-in wireless module 324. The MCU control module 322 is electrically connected to the sensor module 321, the built-in wireless module 324 and the interface module 323 respectively. The sensor module 321 is used to sense the displacement change of the scale frame 2 to generate measurement data. The MCU control module 322 is used as a central control unit to control the work of each component. The built-in wireless module 324 is used to wirelessly match with the external receiving module of the external detection device and transmit data in a wireless manner, and receive the feedback signal of the external receiving module after the data is sent.
[0048] like Figure 2-4 As shown, the sampling button assembly 4 is plugged and connected to the interface module 323. The sampling button assembly 4 includes: a data interface 41, an LED sampling feedback indicator light 42 and a button switch 43. The LED sampling feedback indicator light 42 and the button switch 43 are both connected to the interface module 323 through the data interface 41.
[0049] like Figure 2-4 As shown, the data interface 41 is used to connect the interface module 323 to obtain signals and power. The key switch 43 is used to provide a sampling wake-up signal. Since the key switch 43 is connected to the main board 32 through the data interface 41, when the key switch 43 is pressed, the circuit is connected to send an instantaneous sampling wake-up signal to the MCU control module 322. After the MCU control module 322 is awakened, it reads the data of the sensor module 321 and wakes up the built-in wireless module 324 to send data outward. The data output of the sensor module 321 is in the form of passive transmission. When it is not awakened, the sensor module 321 stops sending data to the outside, and the MCU control module 322 and the built-in wireless module 324 are both in a dormant low-power state to save energy.
[0050] The LED sampling feedback indicator 42 displays the matching status of the built-in wireless module 324 and the external receiving module in different display modes. When the built-in wireless module 324 is paired with the external receiving module, the LED sampling feedback indicator 42 can be displayed as a fast flashing state. After the connection is established, the LED sampling feedback indicator 42 goes out. After pressing the sampling button, if the data is sent successfully, the MCU control module 322 controls the LED sampling feedback indicator 42 to display in the first display mode, which can flash once; if the data fails to be sent, the MCU control module 322 controls the LED sampling feedback indicator 42 to display in the second display mode, which can be always on for 3 seconds.
[0051] The interface module 323 includes: a USB socket or an SPC socket. The interface module 323 can also use a common data interface 41 socket.
[0052] The built-in wireless module 324 includes a Bluetooth module.
[0053] like Figure 2 As shown, a display module and a battery compartment are also provided on the main board 32. The display module is used to visually display the distance change sensed by the sensor module 321, and the battery compartment is used to place batteries to power each module.
[0054] The present invention arranges a sampling button component on the displacement detection component, and the sampling button component provides a sampling wake-up signal from the outside. The built-in wireless module transmits data to the outside only when needed, which can greatly reduce power consumption and keep the built-in wireless module in a low-power state at all times, so that it can share a battery with the sensor and can be used for a long time.
[0055] like Figure 5 As shown, without significantly changing the structure of the digital caliper itself, data can still be transmitted in a wired manner after removing the sampling button assembly.
[0056] Embodiment 2:
[0057] like Figure 6 As shown, a low-power digital caliper data transmission method, the method has the following specific steps:
[0058] S1. Press the sampling button to send a sampling wake-up signal to wake up the MCU control module 322. The MCU control module 322 applies to the sensor module 321 for sending data. The MCU control module 322 pulls the data application line to a low level to apply to the sensor module 321 for sending data.
[0059] S2, when the MCU control module 322 reads a group of data, it immediately pulls the data request line to a high level, so that the sensor module 321 stops sending data to the outside to save power consumption;
[0060] S3, after the MCU control module 322 reads the data, it immediately wakes up the built-in wireless module 324 from the sleep state, and then sends data to the built-in wireless module 324 through the serial port;
[0061] S4, after receiving the data, the built-in wireless module 324 sends the data to the external receiving module, and detects whether the feedback information of the external receiving module is received;
[0062] When feedback information is received, the process proceeds to step S5; if feedback information is not received, the process proceeds to step S6;
[0063] S5, the built-in wireless module 324 receives the feedback information of the external receiving module, and the information is sent successfully. At this time, the built-in wireless module 324 sends the feedback information to the MCU control module 322 through the serial port. After receiving the information, the MCU control module 322 controls the built-in wireless module 324 to sleep, and controls the LED sampling feedback indicator 42 to display in the first display mode and then enters sleep. The first display mode can be flashing once;
[0064] S6. If the built-in wireless module 324 does not receive feedback information from the external receiving module, the information transmission fails. At this time, the built-in wireless module 324 feeds back the information of the transmission failure to the MCU control module 322. The MCU control module 322 first controls the built-in wireless module 324 to enter sleep mode, and then controls the LED sampling feedback indicator light 42 to display according to the second display mode and then enters sleep mode itself, waiting for the next round of wake-up. The second display mode can be always on for 3 seconds.
[0065] Through this method, the sensor module 321, the MCU control module 322 and the built-in wireless module 324 can be kept in a dormant low-power state and awakened when wireless data transmission is required, thereby reducing power consumption in the non-working state and effectively improving battery usage efficiency.
[0066] Embodiment three:
[0067] like Figure 7 As shown, in this embodiment, the first gold finger array portion 323a and the second gold finger array portion 323b are respectively arranged at the positions corresponding to the interface module 323 on the main board 32, the first gold finger array portion 323a is arranged at the edge of the main board 32, and the second gold finger array portion 323b is arranged adjacent to the first gold finger array portion 323a and is located on the side of the first gold finger array portion 323a opposite to the edge of the main board 32.
[0068] The first gold finger array portion 323 a is electrically connected to the SPC socket or the external data line interface, and the second gold finger array portion 323 b is electrically connected to the USB socket or the sampling button assembly 4 .
[0069] The pins with the same functions in the first gold finger array part 323a and the second gold finger array part 323b can be interconnected through wiring. For example, the gold finger array is, from left to right, a data output application signal line pin, a blank extension function pin, a first clock pin, a first data pin, and a first GND pin. The USB pin array is, from left to right, a second GND pin, a sensor module reset signal line pin, a second data pin, a second clock pin, and a data output application signal line pin. The first clock pin in the gold finger array is connected to the second clock pin in the USB pin array through wiring, the first data pin in the gold finger array is connected to the second data pin in the USB pin array through wiring, and the first GND pin in the gold finger array is connected to the second GND pin in the USB pin array through wiring.
[0070] In this implementation, multiple gold finger array parts are used, which are compatible with multiple interfaces and can be flexibly selected according to actual conditions. When it is necessary to connect to a USB interface, a USB socket can be installed in the USB pad area to match the USB interface; when it is necessary to connect to an SPC interface, an SPC socket can be installed in the SPC contact area to match the SPC interface.
[0071] In other embodiments, the first gold finger array portion 323a and the second gold finger array portion 323b can be selected as different interface wiring pins to match different interfaces as needed.
[0072] The beneficial effect of the present invention is that the sampling wake-up signal is provided by the externally plugged sampling button component, and the MCU control module is awakened only when needed to read the data of the sensor module and transmit it outward through the built-in wireless module, which can greatly reduce the power consumption of the built-in transmitter, so that it can share the battery with the sensor module and can be used for a long time. The data transmission method can keep the sensor module, MCU control module and built-in wireless module in a dormant low-power state, and wake them up when wireless data transmission is required, reducing power consumption in the non-working state and effectively improving battery use efficiency. In addition, the mainboard is provided with multiple gold finger array parts that can match different interface sockets as needed to match different structures, and has strong compatibility.
Claims
1. A low-power digital caliper data transmission method, the low-power digital caliper comprising: Ruler (1); A ruler frame (2) is slidably arranged on the ruler body (1); A displacement detection component (3) having an interface module (323), arranged on the ruler frame (2) and used for detecting a displacement change of the ruler frame (2) on the ruler body (1); A built-in wireless module (324) is arranged in the displacement detection component (3); and a sampling key component (4) which is plugged into the interface module (323) of the displacement detection component (3) and provides a sampling wake-up signal for waking up the built-in wireless module (324); The displacement detection component (3) comprises: a main board (32) provided with a sensor module (321), an MCU control module (322) and a built-in wireless module (324); the MCU control module (322) is electrically connected to the sensor module (321), the built-in wireless module (324) and the interface module (323) respectively; the sensor module (321) is used to sense the displacement change of the scale frame (2) to generate measurement data; the MCU control module (322) controls the operation of each part; and the built-in wireless module (324) is used to wirelessly match with an external receiving module of an external detection device and transmit data in a wireless manner; The sampling key component (4) comprises: a data interface (41) for connecting to an interface module (323) to obtain signals and power, an LED sampling feedback indicator (42) for displaying the matching status between the built-in wireless module (324) and the external receiving module, and a key switch (43) for providing a sampling wake-up signal, wherein the LED sampling feedback indicator (42) and the key switch (43) are both connected to the interface module (323) via the data interface (41); It is characterized in that the method comprises the following specific steps: S1. Press the sampling button to send a sampling wake-up signal to wake up the MCU control module. The MCU control module applies to the sensor module to send data. The MCU control module pulls the data application line to a low level to apply to the sensor module to send data. S2: When the MCU control module reads a set of data, it immediately pulls the data request line to a high level, so that the sensor module stops sending data to the outside to save power consumption; S3, after the MCU control module reads the data, it immediately wakes up the built-in wireless module from the sleep state, and then sends data to the built-in wireless module through the serial port; S4, after receiving the data, the built-in wireless module sends the data to the external receiving module, and detects whether the feedback information of the external receiving module is received; When feedback information is received, the process proceeds to step S5; if feedback information is not received, the process proceeds to step S6; S5, the built-in wireless module receives the feedback information from the external receiving module, and the information is sent successfully. At this time, the built-in wireless module sends feedback information to the MCU control module through the serial port. After receiving the information, the MCU control module controls the built-in wireless module to sleep, and controls the LED sampling feedback indicator to display in the first display mode and then enters sleep; S6. If the built-in wireless module does not receive feedback information from the external receiving module, the information transmission fails. At this time, the built-in wireless module feeds back the information of the transmission failure to the MCU control module. The MCU control module first controls the built-in wireless module to enter sleep mode, and then controls the LED sampling feedback indicator to light up for seconds according to the second display mode, and then enters sleep mode itself, waiting for the next round of wake-up.
2. The low-power digital caliper data transmission method according to claim 1, characterized in that: The first display mode is flashing once, and the second display mode is constantly on for 3 seconds.
3. The low-power digital caliper data transmission method according to claim 1, characterized in that: The interface module (323) comprises: a USB socket or an SPC socket.
4. The low-power digital caliper data transmission method according to claim 1, characterized in that: The built-in wireless module (324) comprises: a Bluetooth module.
5. The low-power digital caliper data transmission method according to claim 1, characterized in that: The main board (32) is also provided with a display module and a battery compartment.
6. The low-power digital caliper data transmission method according to claim 1, characterized in that: A first gold finger array portion (323a) and a second gold finger array portion (323b) are respectively arranged at positions corresponding to the interface modules (323) on the main board (32); the first gold finger array portion (323a) is arranged at an edge of the main board (32); and the second gold finger array portion (323b) is arranged adjacent to the first gold finger array portion (323a) and is located on a side of the first gold finger array portion (323a) opposite to the edge of the main board (32).
7. The low-power digital caliper data transmission method according to claim 6, characterized in that: The first gold finger array portion (323a) is electrically connected to an SPC socket or an external data line interface, and the second gold finger array portion (323b) is electrically connected to a USB socket or a sampling key assembly (4).
