Car instrumentation is an important device used to display and record various driving information of the car and the operation of the engine. The stepper motor can be used to control the position of the rotating shaft of the motor very accurately. It does not require expensive sensors and control circuits. The position of the input pulse is tracked, and the stepper motor has good start and stop response functions. Therefore, in order to meet the needs of automobile instruments with high anti-interference ability, high reliability, high integration, multi-function and intelligence, this paper designs a bus-type automobile with analog sampling multiplexing and with stepper motor Intelligent combination meter .
1 Composition principle of instrument structure
The composition module of the instrument is shown in Figure 1, which is composed of a collection control module, a display module and a peripheral circuit module. Both the display module and the peripheral circuit module are connected to the acquisition control module. The acquisition control module includes a main processor and an input and output module, and the input and output module is connected to the main processor. The display module includes a display interface module and a display processor, and is connected to each other. The analog sampling multiplexing circuit in the acquisition control module includes a resistance network adjusting circuit and an analog multiplexing input signal pre-processing circuit. The input signal adjusted by the resistance network adjusting circuit is processed by the analog multiplexing input signal pre-processing Circuit selection and transmission to the main processor of the acquisition control module.

2 Stepper motor drive design and interrupt control
2.1 Drive design of stepper motor
Speedometer, tachometer, oil level gauge and water temperature gauge are all driven by stepper motor. When designing the hardware, it is only necessary to connect the single-chip microcomputer and the stepping motor with leads. Figure 2 shows the connection method when a single stepper motor works in dual full-bridge mode. It is controlled by two pulse width modulation (PWM) channels, channel X controls coil 0, and channel X + 1 controls coil 1. The schematic diagram of the actual circuit is shown in Figure 3. M1, M2, M3, and M4 are the speedometer, tachometer, oil level gauge, and water temperature gauge, respectively.

2.2 Use real-time interrupt RTI to control stepper motor
In order to solve the real-time problem, the real-time interrupt RTI is used to control the stepper motor. RTI is a sub-module in the clock and reset generator that can generate real-time interrupts. The frequency division coefficient adopted in this article is 3 & TImes; 215, that is F = 8 M / 3 × 215 = 81.38 Hz, and the interval time of each interruption is t = 1 / 81.38 = 12.3 ms. The microcontroller changes the output of all stepper motors every 12.3 ms, which in turn changes the pointer position of the stepper motors. When the control mode of the stepper motor is double four beats, each time the interruption is given to the instruction (permanent magnet) to turn it 90 ° (a substep), that is, the rotor rotates once in real time every 4 times (a full step ). Additional programs can be run during the RTI real-time interruption interval.
Because the data of the oil level meter, engine tachometer and water temperature meter are all transmitted from the CAN bus, the procedures of these three tables are organized into the same module. The functions of the tachometer and water temperature meter are the same as the oil level meter. . The program flow chart is shown in Figure 4.

When using a real-time interrupt to control a stepper motor, the stepper motor can only take one minute at a time. Because the output of the four-step step within a week is different at the pin, first determine the position of the rotor. Each interruption must judge whether the variable of the stepper motor is updated, and judge whether it is forward or reverse to decide which single step function to call.
3 Analog sampling multiplexing circuit design
The analog acquisition multiplexing circuit designed by this instrument can realize the measurement of voltage, current and resistance signal by adjusting the resistance network, as shown in Figure 5.
(1) When the connected analog quantity is a voltage signal, the circuit adjustment is shown in Figure 6.

(2) When the connected analog is a current signal, the circuit adjustment is shown in Figure 7.


In the actual application process of this circuit, the size of the relevant resistance in the resistance network can be calculated and determined according to the type of signal to be sampled, the signal range and the value of the reference voltage of the chip analog interface.
This design develops the driver program of the stepper motor and adopts real-time interrupt control of the stepper motor, which satisfies the needs of automobile instruments with high anti-interference ability, high reliability, high integration, multi-function and intelligence.
Can you boost your WiFi signal with outdoor 4G CPE?
When you travel or go to some remote areas, you may be annoyed by poor reception. Is there any way to get a strong WiFi router signal outdoors in a 4G LTE network? Very good, outdoor 4G CPE router would be a good choice!
What is an outdoor 4G CPE router?
An outdoor 4G CPE router differs from a Wifi-only router in that it needs to be connected to a fiber optic network. The 4G CPE WiFi router can pick up the carrier's 4G LTE network signal and convert it into broadband and Wi-Fi. Just plug in your SIM card with your data plan and enjoy a stable and reliable WiFi signal with family and friends. This Outdoor CPE can be used in harsh environments. If you install your router outside or near a window in an area with a weak 4G signal, your device can receive a better 4G signal.
Second, what are the characteristics of outdoor 4G CPE router?
1. Better network for ODU and IDU
4G CPE outdoor routers include an outdoor unit (ODU) and an indoor unit (IDU). Help your device receive the best outdoor cellular signal through the ODU, and connect to the indoor WiFi router through the network cable to experience better network speed. As shown in the figure below, an outdoor LTE CPE (ODU) is installed outdoors and connected to an indoor Wi-Fi router (IDU) via a network cable. The entire 4G device is powered by POE. This data will be transmitted over the same Ethernet cable, eliminating the need to connect the ODU to a power outlet.
2. High-speed multi-user available
The outdoor 4G CPE features a built-in 4G LTE modem and a 5dBi high-gain antenna. LTE CAT4, download speeds up to 150Mbps, WiFi speeds up to 300Mbps, can connect 32 users at the same time. The high-gain antenna of the outdoor 4G CPE router enables it to have higher power and stronger signal transmission and reception capabilities than mobile phones. Therefore, the CPE router can receive the signal. If your phone can't receive a signal in some areas. Sometimes you also use your phone as a hotspot to share Internet access with your friends, right? Similarly, this 4G LTE CPE router allows 32 users to connect to WiFi at the same time, allowing more users to connect and receive a better signal than a phone sharing hotspot. In addition, the IDU has four Lan ports and can be connected to the device through network cables, which is also a backup mode of the Internet.
3. Excellent outdoor performance and design
On the one hand, outdoor LTE CPE is waterproof, UV resistant and corrosion resistant. It can be used at -20℃~60℃ operating temperature. Therefore, it is ideal for outdoor deployment. On the other hand, there are a variety of installation methods. CPE can be mounted on Windows or walls by mounting brackets. It is also possible to attach it to the antenna mast. In addition, the signal strength is displayed through the LED indicator to facilitate users to find the best location to get a better 4G signal.
4. Support different frequency bands
Outdoor 4G CPE supports a variety of frequency bands, including LTE-FDD, LTE-TDD, 3G WCDMA, and 2G GSM network bands. Meet the needs of different frequency bands in different regions and make full use of network resources.
5. Convenient management of CPE
Start the Web browser to log in to the Web management page. You can configure and manage the CPE easily. The web management system supports Linux. Provides functions such as WebUI management, Telnet, SSH terminal system status monitoring, NTP client, synchronization between devices and the system clock network, and configuration file import and export.
6. Applicable to various application scenarios
CPE is designed to provide ISP or operator with 4G LTE outdoor wifi router to facilitate network connection, whether at home, or in enterprises and remote areas, to bring users a wonderful network experience.
All in all, an outdoor 4G CPE router is an excellent choice for connecting to the Internet in remote areas and places where the signal is weak, the wired network is unreliable, or there is a lack of reliable WiFi. It's worth deploying outdoor CPE in rural, coastal, boat, caravan, campsite and remote areas to enjoy the best network speeds and outdoor activities! It can even reduce complex cabling deployments for home networks without the need to install a wired fiber network.
4G Outdoor Cpe,4G Lte Outdoor Cpe Router,4G Lte Outdoor Cpe,Outdoor 4G Lte Cpe Router
Shenzhen MovingComm Technology Co., Ltd. , https://www.szmovingcomm.com