Disclosure of Invention
The invention aims at providing a locator capable of obtaining motion state and data, wherein autonomous data acquisition is formed by combining a gyroscope and an accelerometer in the locator, and visual monitoring of a wearing body is realized by combining an APP (application) and a digital split display module and a digital split database.
In order to solve the technical problems, the invention adopts the following technical scheme:
A positioner capable of obtaining motion state and data comprises a shell and a positioner host; the shell is internally provided with a mounting cavity, the main machine of the locator is arranged in the mounting cavity and comprises a battery, a PCBA electronic circuit integrated board and a chip, the battery is electrically connected with the PCBA electronic circuit integrated board, the chip is fixed on the PCBA electronic circuit integrated board,
The PCBA electronic circuit integrated board is also provided with a gyroscope and an accelerometer, the gyroscope is used for measuring displacement, speed, gravity center, gravity and space coordinates of the wearing body in relative space, the accelerometer is used for measuring the acceleration of the wearing body, the gyroscope and the accelerometer are electrically connected with the chip through the PCBA electronic circuit integrated board, and the measured displacement, speed and acceleration are fed back to the chip through the gyroscope and the accelerometer;
The locator is provided with a matched wearing body and an APP, the APP comprises a digital body-splitting display module and a digital body-splitting database, displacement, speed and acceleration data provided by the gyroscope and the accelerometer are fused, calculated and matched with data in the digital body-splitting database through the MCU algorithm system, and the APP can be positioned in the APP of a user to reflect the movement state of the wearing body.
In the above description, as a further scheme, a hole is provided on the housing, the hole is used for a wearing piece to pass through, the wearing piece is fixed on the corresponding part of the wearing body in a surrounding manner, the gyroscope in the housing can obtain the displacement, the speed and the speed of the corresponding part of the wearing body, the posture of the wearing body can be judged through the data in the digital body-separating database, the accelerometer in the housing can follow the movement of the wearing body, the displacement acceleration of the wearing body can be obtained, and the 3D digital body separation of the wearing body is constructed through the digital body-separating display module in the APP.
In the above description, as a further scheme, the APP further includes a wearing body positioning function, and the wearing body positioning function is formed by a multiple positioning technology, where the multiple positioning technology includes a Global Positioning System (GPS), a Beidou satellite navigation system (BDS), and wireless local area network (wifi) position analysis to position the wearing body.
In the above description, as a further scheme, the APP further includes positioning data transmission and parsing capability, where the positioning data transmission and parsing capability includes GPS, beidou, and GLONASS data parsing, and is used to parse GPGGA and GPRMC commands to obtain all data contents needed by us, where the data contents include, but are not limited to, latitude and longitude, time, satellite searching state, satellite number, altitude, and speed.
In the above description, as a further scheme, the APP further includes an emergency tracking function, and the emergency tracking function records a history track of the activity of the wearing body, so as to realize positioning of the emergency tracking function, and facilitate a user to quickly find back the wearing body.
In the above description, as a further aspect, the APP further includes a movement management function that records the activity history and data of the wearing body.
In the above description, as a further scheme, the APP further comprises a fence early warning function, the user sets a safe activity area of the wearing body through the fence early warning function, the wearing body leaves the safe activity area, and the APP immediately sends out an alarm prompt.
In the above description, as a further scheme, the APP further includes an electronic traction function, through which a user sets a safe distance between the wearing body and the terminal device where the APP is located, and when the distance between the wearing body and the terminal device where the APP is located exceeds the safe distance, the APP immediately gives an alarm.
In the above description, as a further scheme, the PCBA electronic circuit integrated board is also electrically connected to an external power supply; a plurality of conductive columns are fixedly connected to the PCBA electronic circuit integrated board, conductive column bases are correspondingly arranged in the mounting cavity, and a charging interface is arranged on the shell; each conductive post passes through the conductive post seat, and the conductive post seat is accommodated in the charging interface; the external power supply is inserted into the charging interface and electrically connected with the conductive column in the conductive column seat, so as to supply power for the PCBA electronic circuit integrated board, a first magnetic part is arranged around the conductive column seat, a second magnetic part is also arranged on the corresponding external power supply charging data line, and the first magnetic part and the second magnetic part are magnetically attracted, so that the external power supply charging data line is connected with the charging interface conveniently.
In the above description, as a further scheme, an RGB lamp is further arranged on the housing, and the RGB lamp is electrically connected with the PCBA electronic circuit integrated board; the RGB lamp displays that the intelligent wearing body positioner is in different states through lamplight change.
The beneficial effects of the invention are as follows:
According to the locator capable of obtaining the motion state and the data, the measured displacement, the measured speed, the measured acceleration and the measured acceleration are fed back to the chip by adopting the gyroscope and the accelerometer, meanwhile, the digital body-separating database can compare and judge the motion posture and the motion data of the wearing body according to the motion data of the displacement, the measured acceleration and the measured acceleration, and the like, so that the digital body-separating display module in the APP forms a real-time 3D motion model and an animation of the wearing body, and the visual monitoring of the wearing body without assistance of external equipment is realized.
Detailed Description
The invention will be further described with reference to examples and drawings, to which reference is made, but which are not intended to limit the scope of the invention. The present invention will be described in detail below with reference to the accompanying drawings.
Referring to fig. 1-5, a positioner capable of obtaining motion state and data according to the embodiment includes a housing 1 and a positioner host 2; a mounting cavity 11 is formed in the shell 1, the locator host 2 is mounted in the mounting cavity 11, the locator host 2 comprises a lithium ion battery 3, a PCBA electronic circuit integrated board 4 and a chip 5, the lithium ion battery 3 is electrically connected with the PCBA electronic circuit integrated board 4, the chip 5 is fixed on the PCBA electronic circuit integrated board 4,
The PCBA electronic circuit integrated board 4 is also provided with a gyroscope and an accelerometer, the gyroscope is used for measuring displacement, speed, gravity center, gravity and space coordinates of the wearing body in relative space, the accelerometer is used for measuring the acceleration of the wearing body, the gyroscope and the accelerometer are electrically connected with the chip 5 through the PCBA electronic circuit integrated board 4, and the measured displacement, speed and acceleration are fed back to the chip 5 through the distribution of the gyroscope and the accelerometer;
The locator is provided with a matched wearing body and an APP, the APP comprises a digital body-splitting display module and a digital body-splitting database, displacement, speed and acceleration data provided by the gyroscope and the accelerometer are fused, calculated and matched with data in the digital body-splitting database through an MCU algorithm system, the APP can be positioned in the APP of a user to reflect the movement state of the wearing body, a hole 7 is formed in the shell 1, the hole 7 is used for a wearing piece to pass through, the wearing piece is fixed on a corresponding part of the wearing body in a surrounding mode, the gyroscope in the shell 1 can obtain the displacement, speed and speed of the corresponding part of the wearing body, the posture of the wearing body can be judged through the data in the digital body-splitting database, the accelerometer in the shell 1 can follow the movement of the wearing body, the displacement acceleration of the wearing body can be obtained, and the 3D digital body-splitting of the wearing body is constructed through the digital body-splitting display module in the APP.
Specifically, the locator supports CATM1+NB2 communication mode, satellite positioning supports GPS/Beidou/GLONASS positioning, movement and stagnant track checking, 6-axis gyroscope inertial navigation capability, ultra-fast sampling and storing in Flash through algorithm data, long-time data storage capability, support WIFI auxiliary positioning with a platform, base station auxiliary positioning, serial port data fast transmission, movement data grabbing and algorithm processing and then transmitting to the background, artificial intelligent algorithm, other auxiliary algorithms and scanning imaging technology are used for automatically generating simulated 3D dynamic video, meanwhile, the locator is provided with SOC with WIFI and Bluetooth as a master control, through UART and integrated GNSS positioning cellular module AT instruction communication, IMEI, ICCID and signal intensity are obtained, longitude and latitude of earth surface space are resolved, the master control is communicated with a six-axis sensor through I2C/SPI mode, algorithm processing such as filtering, fusion and the like is carried out, movement posture data can be calculated, the number of steps of movement and movement distance and space coordinates can be obtained through calculation of the calculation box, the built-in WIFI auxiliary positioning can be used for the master control, and battery voltage and charging voltage and detection are simultaneously transmitted to the platform together.
APP still wears body locate function, wears body locate function and comprises multiple location technique, and this multiple location technique includes Global Positioning System (GPS), big dipper satellite navigation system (BDS), wireless local area network (wifi) position analysis to wearing the body and fix a position.
In the above description, as a further scheme, the APP further includes satellite positioning data transmission and analysis technology capabilities, including GPS, beidou, and GLONASS data parsing capabilities, for parsing GPGGA and GPRMC commands to obtain all the required data contents, including but not limited to longitude and latitude, time, satellite searching state, satellite number, altitude, and speed.
In a further aspect, the APP further includes an emergency tracking function, a motion management function, a fence pre-warning function, and an electronic traction function.
The emergency tracking function records the historical track of the activity of the wearing body, realizes the positioning of the emergency tracking function, and is convenient for a user to quickly find the wearing body; the movement management function is used for recording the activity history and data of the wearing body, the user sets a safe activity area of the wearing body through the fence early warning function, the wearing body leaves the safe activity area, and the APP immediately sends out an alarm prompt; the user sets for the safe distance of wearing body and APP at terminal equipment through this electron traction function, when wearing body and APP at terminal equipment's distance and surpassing this safe distance, APP sends the warning immediately.
The emergency tracking function, the motion management function, the fence early warning function and the electronic traction function are realized based on a multiple positioning technology, after the GPS receiver is electrified, format data packets are automatically sent through a serial port, various geographic position information positioning information data and UTC time are calculated, a time-division second format, a positioning state, effective positioning, invalid positioning, latitude, longitude, ground speed, ground heading (the front 0 is transmitted by taking true north as a reference), declination angle and declination angle direction, mode indication, autonomous positioning, difference, estimation, data invalidation and the like are analyzed, meanwhile, the built-in WIFI is used for auxiliary positioning by scanning a WIFI MAC address adjacent to the device, the device uploads the MAC address to a server, the server is used for resolving the latitude and longitude corresponding to the WIFI MAC address, and the data come from a third party platform or a program itself for data acquisition.
In the above description, as a further aspect, the PCBA electronic circuit integrated board 4 is also electrically connected to an external power source; a plurality of conductive posts 8 are fixedly connected to the PCBA electronic circuit integrated board 4, conductive post bases 9 are correspondingly arranged in the mounting cavity 11, and a charging interface is arranged on the shell 1; each conductive post 8 passes through the conductive post seat 9, and the conductive post seat 9 is accommodated in the charging interface; the external power supply is inserted into the charging interface and electrically connected with the conductive column 8 in the conductive column seat 9, so as to supply power for the PCBA electronic circuit integrated board 4, a first magnetic part 6 is arranged around the conductive column seat 9, a second magnetic part is also arranged on the corresponding external power supply charging data line, and the first magnetic part 6 and the second magnetic part are magnetically attracted, so that the external power supply charging data line is connected with the charging interface conveniently.
In the above description, as a further scheme, an RGB lamp 10 is further provided on the housing 1, and the RGB lamp 10 is electrically connected with the PCBA electronic circuit integrated board 4; the RGB lamp 10 displays the intelligent positioner of the wearing body in different states through lamplight change.
A task execution process of a locator capable of obtaining motion state and data:
the dual system and the background system are designed, the application program is in an infinite loop, the MCU1 and the MCU2 work in a coordinated way at ordinary times, the reliability of the system is enhanced by embedding an operating system in the system, and the safety of the application is improved. Embedded designs divide the entire program into a number of tasks in the system, each of which is relatively independent. Even if one task is problematic, the operation of other tasks is not affected. Thus, the reliability of the system is improved, the debugging and running of the program are easier, the system is convenient and quick, the SDK provides a series of APIs and libraries, and a user is helped to conveniently use navigation resources. The locator can be used for autonomous learning and intelligent deep application of a system more easily, and is specifically compared with the figures 4-5;
The position information of the wearing body is obtained through the GPS chip, the MCU1 reads data by using a UART or SPI interface, analyzes the data to extract latitude and longitude coordinates, and sends the position information to the cloud server. The task is responsible for managing the power consumption of the wearing body positioning function device product, and the management task of the power supply IC is mainly responsible for managing the power supply of the wearing body positioning function device, and the management task comprises the functions of battery charging, electric quantity detection, low electric quantity protection and the like. MCU1 gathers the data after processing in the Flash, packs the rule to see the communication protocol in detail, the data is uploaded to the cloud server according to MQTT agreement through Cat-M/Nb-IOT network. The SPI performs read-write operation, firstly caches the data into the EEPROM, and then stores the data into the Flash once again, so that the Flash is prevented from being frequently erased and written, and the service life of the Flash is shortened. This task is responsible for updating the firmware of the wearer positioning function product Over The Air (OTA) using Cat-M or NB networks. Implementations may include configuring an OTA module to download firmware updates from a remote server. The device has the function of interrupting uploading data by a timer; the UART execution server instruction is provided with a serial port. The Bluetooth gyroscope has the functions of Bluetooth connection and gyroscope data processing;
And (3) completing functional demonstration:
And starting the Bluetooth module and connecting the Bluetooth module with the mobile phone. ② And starting the WIFI module, acquiring the MAC address of the WIFi, and storing the MAC address in Flash. ③ And receiving and processing the data of the six-axis gyroscope, and processing the data through a complementary filtering algorithm and a Kalman filtering algorithm. ④ Detecting an abnormal condition and alarming the abnormal condition.
Functional logic technical description:
1: the communication is in two modes, namely a narrow-band channel and a Bluetooth channel;
2: in order to save power consumption and flow, the interaction mode of the locator and the platform (various telecom platforms) is a request response mode, the request is used for reporting relevant data once, and corresponding configuration is issued when responding;
3: device bluetooth naming uses corporate custom rules: dgns + two-digit serial number+ 3 bytes after the Mac address of the device bluetooth, such as Dgns _01_78d0d1 (Mac address of bluetooth is be: 32:55:78:d0:d1);
4: the positioning mode is divided into a tracking mode or a searching mode and a normal mode, wifi positioning and satellite positioning are used no matter which mode is used, and gps and other satellite positioning data are used if wifi positioning fails (at least 1 is scanned or not scanned);
5: the searching or tracking mode has the maximum maintenance time, and the platform can be set;
6: in a normal mode, WIFI positioning is used, if the device detects that more than 3 WIFI are the same as the last time, the device considers that positioning is not required to be reported, but the device has a limit of maximum times, positioning is required to be reported once more than the maximum times, and the limit can be set by a platform;
7: when the device is in a searching mode or a tracking mode, the locator automatically lights and flashes, the light state is in an on state, and a user can close the device through a Bluetooth instruction;
8: the device does not need to be positioned when the device detects that Bluetooth is connected and communication exists, and also does not need to upload data through a narrow-band channel, and all communication is performed in a Bluetooth mode;
9: APP (Bluetooth) or platform (general) downlink utc time and user time zone (equipment is converted into user local time), equipment end does not need reporting time and time zone except step counting statistics and reporting date (user local date) is needed.
The present invention is not limited to the preferred embodiments, but is intended to be limited to the following description, and any modifications, equivalent changes and variations in light of the above-described embodiments will be apparent to those skilled in the art without departing from the scope of the present invention.