Multifunctional microcontroller and vehicle
By integrating the voltage stabilizing, driving and control modules on the microcontroller, the problems of low integration and high cost caused by the independent setting of modules on the PCB are solved, and a multi-functional implementation with high integration and low cost is achieved.
Patent Information
- Application Number
- CN202111588911.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-12-23
AI Technical Summary
In the existing technology, modules with different functions on the vehicle PCB are arranged independently of each other, leading to problems such as low integration, high design difficulty, waste of space, high complexity, and increased hardware costs.
The voltage stabilizing module, driving module and control module are integrated on the microcontroller. The voltage stabilizing module regulates the output voltage, the driving module outputs the driving signal, and the control module receives instructions and controls the module output, achieving multi-functional integration and reducing the use of peripheral components. .
It improves the integration level of the PCB board, reduces the design difficulty and space waste, reduces the hardware cost, and enables the realization of multiple functions without adding peripheral components.
Smart Images

Figure CN114245522B
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a multifunctional microcontroller and a vehicle. Background Art
[0002] With the development of vehicle technology, PCBs with multiple functions are often required to control vehicle loads. For example, controlling headlights usually requires building three independent modules on a PCB: an LDO (Low Dropout Regulator), an LED (light-emitting diode) driver, and an MCU (Microcontroller Unit). This realizes multiple functions and meets the control requirements of headlights.
[0003] However, in the related art, modules with different functions in the PCB board are set independently of each other, with low integration, which increases the difficulty of PCB board design and greatly wastes the layout space of the PCB board. At the same time, more peripheral components need to be added to realize multiple functions, which greatly increases the complexity of the PCB board and increases hardware costs. Summary of the Invention
[0004] The present application provides a multifunctional microcontroller and vehicle to solve the problems in the related art where modules with different functions are set up independently on a PCB board, wasting layout space, increasing design difficulty, and requiring the addition of more peripheral components, thereby increasing the complexity of the PCB board and hardware costs.
[0005] A first aspect embodiment of the present application provides a multifunctional microcontroller, on which a voltage stabilizing module, a driving module and a control module are integrated, wherein the voltage stabilizing module is used to regulate the output voltage of the microcontroller to within a first preset voltage range; the driving module is used to output a driving signal to a vehicle load so that the vehicle load works; and the control module is used to receive a voltage stabilizing instruction and / or a driving instruction of the vehicle, and based on the voltage stabilizing instruction and / or the driving instruction, control the voltage stabilizing module to regulate the output voltage to within the preset voltage range and / or control the driving module to output the driving signal to the vehicle load.
[0006] Furthermore, a voltage-dividing resistor and a plurality of first switches are provided in the voltage stabilizing module, wherein the plurality of first switches are used to adjust the resistance of the voltage-dividing resistor to a preset resistance, wherein the resistance of the corresponding voltage-dividing resistor is different when the plurality of first switches are respectively turned on.
[0007] Furthermore, the voltage stabilization module is also provided with an operational amplifier, a power tube and a compensation capacitor, wherein the operational amplifier is used to amplify the input voltage of the microcontroller to a second preset voltage range; the power tube is used to output a current within a first preset current range; and the compensation capacitor is used to perform voltage compensation on the microcontroller to regulate the output voltage of the microcontroller to within the first preset voltage range.
[0008] Furthermore, a voltage and current conversion submodule and a plurality of second switches are provided in the driving module, wherein the voltage and current conversion submodule is used to convert the level signal received by the driving module into a current signal; the plurality of second switches are used to regulate the current corresponding to the current signal to within a second preset current range; and the voltage and current conversion submodule is used to generate a driving signal according to the regulated current signal.
[0009] Furthermore, the voltage and current conversion submodule includes an encoding circuit and a driving circuit, wherein the encoding circuit is used to encode the level signal received by the driving module into a target code type, and turn on the corresponding switch among the multiple second switches according to the target code type to generate a driving signal; the driving circuit is used to output the driving signal for the vehicle load.
[0010] Furthermore, the microcontroller is also integrated with a first communication module and a second communication module, wherein the first communication module is used to convert the voltage stabilization instruction into a first high and low level, and send the first high and low level to the voltage stabilization module; the second communication module is used to convert the driving instruction into a second high and low level, and send the second high and low level to the driving module.
[0011] A second aspect of the present application provides a vehicle comprising the multifunctional microcontroller described in the above embodiment.
[0012] Therefore, this application has at least the following beneficial effects:
[0013] The microcontroller can be integrated with a voltage regulator module, a driver module, and a control module. Modules with different functions can be integrated, resulting in a high degree of integration, reducing the difficulty of PCB board design and saving layout space. Multiple functions can be achieved without the need for additional peripheral components, reducing PCB board complexity and saving hardware costs. This solves the problem of related art where modules with different functions are independently arranged on a PCB board, wasting layout space, increasing design difficulty, and requiring the addition of a large number of peripheral components, increasing PCB board complexity and hardware costs.
[0014] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0016] Figure 1 A block diagram of a multifunctional microcontroller provided according to an embodiment of the present application;
[0017] Figure 2 This is a structural example diagram of a multifunctional microcontroller provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following describes in detail embodiments of the present application, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0019] With the advancement of microelectronics technology, the trend toward miniaturization, integration, and portability is becoming increasingly evident. Microcontrollers that integrate an MCU, LDO, and LED driver on a single chip are gaining increasing market favor. Currently, single-chip designs combining an MCU, LDO, and LED driver are common. While these designs can achieve the desired functionality, they require the addition of complex peripheral components. Furthermore, electromagnetic interference must be minimized to pass EMC testing, which not only increases project costs but also requires higher engineering skills.
[0020] The embodiment of this application integrates the MCU, LDO, and LED driver into a single chip. This not only reduces a large number of peripheral components, making the entire schematic more concise and PCB layout more convenient, but also eliminates electromagnetic interference issues. The saved PCB area can be used to add more functions; in addition, the integrated solution is easier to find problems and maintain, effectively saving project time and costs. This chip has a wider range of applications and can be used to replace any module in automotive parts that requires an MCU and power supply.
[0021] The following describes the multifunctional microcontroller and vehicle of the embodiment of the present application with reference to the accompanying drawings. In view of the problem that the modules with different functions in the PCB board mentioned in the related art mentioned in the background technology center are set up independently from each other, which wastes layout space, increases design difficulty, and requires the addition of more peripheral components, increases the complexity of the PCB board and hardware cost, the present application provides a multifunctional microcontroller. In the multifunctional microcontroller, a voltage stabilizing module, a driving module and a control module can be integrated on the microcontroller. The modules with different functions can be integrated and set up, with high integration, reducing the difficulty of PCB board design, saving layout space of PCB board, and realizing multiple functions without adding peripheral components, reducing the complexity of PCB board and saving hardware cost. Thus, the problem that the modules with different functions in the PCB board mentioned in the related art are set up independently from each other, which wastes layout space, increases design difficulty, and requires the addition of more peripheral components, increases the complexity of PCB board and hardware cost is solved.
[0022] Specifically, Figure 1 A block diagram of a multifunctional microcontroller provided in an embodiment of the present application.
[0023] like Figure 1 As shown, the multifunctional microcontroller 10 is integrated with a voltage stabilizing module 100 , a driving module 200 and a control module 300 .
[0024] Among them, the voltage stabilizing module 100 is used to regulate the output voltage of the microcontroller to within a first preset voltage range; the driving module 200 is used to output a driving signal to the vehicle load so that the vehicle load works; the control module 300 is used to receive the vehicle's voltage stabilizing instructions and / or driving instructions, and based on the voltage stabilizing instructions and / or driving instructions, control the voltage stabilizing module 100 to regulate the output voltage to within the preset voltage range and / or control the driving module 200 to output a driving signal to the vehicle load.
[0025] The first preset voltage range can be set according to actual voltage regulation requirements and is not limited thereto. For example, the first preset voltage range can be set to 3.5V-36V, etc. The vehicle load can be a load such as a headlight.
[0026] It can be understood that the embodiments of the present application can integrate modules with different functions and different powers to achieve advantages such as more integrated functions, lower costs, and wider application areas.
[0027] In this embodiment, the control module 300 can receive off-chip instructions through SPI (Serial Peripheral Interface) and translate the instructions into internal instructions to adjust the output of the voltage stabilizing module 100 and the driving module 200; specifically, the voltage stabilizing instructions and / or driving instructions can be sent to the on-chip control module 300 through the on-chip SPI interface, and the control module 300 processes and sends them to the voltage stabilizing module 100 and the driving module 200 to control the voltage stabilizing module 100 and the driving module 200 to select different conduction switches.
[0028] In this embodiment, the voltage stabilizing module 100 may be an LDO power module, the driving module 200 may be an LED driving module, and the control module 300 may be an MCU module, which is not specifically limited.
[0029] In specific applications, the voltage stabilizing module 100 can be an LDO power module as an example, the driving module 200 can be an LED driving module as an example, and the control module 300 can be an MCU module as an example, wherein the input voltage range of the LDO power module is 3.5V-36V, the output voltage range is 1.8V-12V, and the output voltage accuracy is ±2%; the LED driving module can be set with 16 control channels, and the maximum current allowed for each channel is 50mA; the number of PIN pins in the MCU module includes 32PIN, 48PIN, 72PIN N, 100PIN and 144PIN, Flash memory includes 32KB, 64KB and 128KB, SRAM includes 8KB, 16KB and 20KB, TIMER (32-bit) includes 4, WDG includes 1, RTC includes 1, UART includes 3, I2C includes 2, SPI includes 2, CAN includes 2, UART / LIN includes 2, PWM includes 16, ADC (12-bit) includes 12 channels, and the temperature range is -40℃-125℃. The embodiment of the present application can integrate the LDO power module, LED driver module and MCU module into a single chip, with high integration, reducing the difficulty of PCB board design, saving PCB board layout space, and realizing multiple functions without adding peripheral components, reducing the complexity of the PCB board and saving hardware costs.
[0030] It should be noted that the three-in-one chip of the embodiment of the present application can be tape-out using the BCD process. The BCD process can provide CMOS devices to design low-voltage logic units such as MCU, and can provide Bipolar and DMOS devices to design power modules such as LDO and LED to achieve the integration of multiple modules.
[0031] In this embodiment, a voltage-dividing resistor and multiple first switches are provided in the voltage stabilizing module 100, wherein the multiple first switches are used to adjust the resistance of the voltage-dividing resistor to a preset resistance value, wherein the resistance of the corresponding voltage-dividing resistor is different when the multiple first switches are respectively turned on.
[0032] It is understood that the voltage divider resistor in the voltage stabilizing module 100 is set to a switch adjustable mode, and different output voltages are obtained by turning on different switches. Different switches correspond to different preset resistance values, and the preset resistance value can be determined according to the turned-on switch.
[0033] In this embodiment, the voltage stabilizing module 100 is further provided with an operational amplifier, a power tube and a compensation capacitor, wherein the operational amplifier is used to amplify the input voltage of the microcontroller to within a second preset voltage range; the power tube is used to output a current within a first preset current range; and the compensation capacitor is used to perform voltage compensation on the microcontroller so as to regulate the output voltage of the microcontroller to within the first preset voltage range.
[0034] Among them, the second preset voltage range can be specifically set according to specific voltage regulation requirements and is not specifically limited; the first preset current range can be specifically set according to actual output requirements and is not specifically limited.
[0035] Specifically, the voltage stabilization module 100 may include components such as an operational amplifier, a power transistor, a voltage divider resistor, a compensation capacitor, and a switch. The operational amplifier serves as a preamplifier; the greater the gain, the smaller the output voltage error, meeting the ±2% accuracy requirement. The power transistor is used to output a large current, such as at least 250mA, to drive the load. The voltage divider resistor is used to set the feedback coefficient to determine the output voltage. The compensation capacitor is used to set the zero and pole of the system to ensure system stability. The switch and voltage divider resistor combination is used to set the internal voltage divider resistor to obtain different output voltages, such as 1.8V-12V, and output currents.
[0036] Furthermore, a voltage and current conversion submodule and multiple second switches are provided in the driving module 200, wherein the voltage and current conversion submodule is used to convert the level signal received by the driving module 200 into a current signal; the multiple second switches are used to regulate the current corresponding to the current signal to within a second preset current range, and the voltage and current conversion submodule is used to generate a driving signal according to the regulated current signal.
[0037] It is understood that the voltage-to-current conversion submodule within driver module 200 sets different current outputs through switch selection to drive subsequent stages to meet the needs of different loads. The second switch can be a register, and driver module 200 can include 16 MOSFET channels. Control module 300 can configure the register within driver module 200 via SPI communication to enable and disable different channels.
[0038] In this embodiment, the voltage and current conversion submodule includes an encoding circuit and a driving circuit, wherein the encoding circuit is used to encode the level signal received by the driving module into a target code pattern, and turn on the corresponding switches in the multiple second switches according to the target code pattern to generate a driving signal; the driving circuit is used to output the driving signal to the vehicle load.
[0039] When the driving module 200 may include 16 MOSFET channels, it means that the driving circuit of the driving module 200 may have 16 MOSFET channels.
[0040] Specifically, the driving module 200 may include an encoding circuit, a driving circuit, etc. The high and low level signals from the control module 300 enter the encoding circuit. The encoding circuit encodes the high and low level signals into a fixed code pattern according to the protocol and sends them to the vehicle load through the driving circuit. For example, it can be sent to the LED module to light up the LED, and different driving currents can be set by turning on different switches to meet the needs of LEDs with different loads.
[0041] In this embodiment, the microcontroller 10 is also integrated with a first communication module and a second communication module, wherein the first communication module is used to convert the voltage stabilization instruction into a first high and low level, and send the first high and low level to the voltage stabilization module 100; the second communication module is used to convert the driving instruction into a second high and low level, and send the second high and low level to the driving module 200.
[0042] The first communication module may be an I2C communication module, and the second communication module may be an SPI communication module.
[0043] Specifically, if Figure 2 As shown, the signal from the control module 300 is connected to the voltage stabilizing module 100 through the first communication module. The voltage stabilizing signal from the control module 300 will be lost when passing through the long-distance metal connection. After entering the voltage stabilizing module 100, the voltage stabilizing signal will be re-driven by the internal buffer and become a waveform with steeper edges. It is then converted into high and low levels suitable for the voltage stabilizing module 100 through internal level shifting.
[0044] The control module 300 and driver module 2000 can be connected via a second communication module. The drive signal from the control module 300 suffers losses due to long metal wiring. Once in the second communication module, the drive signal is re-driven by an internal buffer, transforming it into a waveform with steeper edges. This is then converted to high and low levels suitable for the driver module 200 through internal level shifting. The second communication module includes other logic circuits, such as the SMIT circuit, to ensure more accurate and efficient signal transmission. Furthermore, because the second communication module supports half-duplex communication, signals from the driver module 200 can also be transmitted to the control module 300 via the second communication module.
[0045] According to the multifunctional microcontroller proposed in the embodiment of the present application, a voltage stabilizing module, a driving module, and a control module can be integrated on the microcontroller. Modules with different functions can be integrated, with high integration, reducing the difficulty of PCB board design, saving PCB board layout space, and realizing multiple functions without adding peripheral components, thereby reducing the complexity of the PCB board and saving hardware costs.
[0046] This embodiment also provides a vehicle including the multifunctional microcontroller of the aforementioned embodiment. The vehicle can integrate a voltage regulator module, a driver module, and a control module within the microcontroller. This allows for the integration of modules with different functions, resulting in a high level of integration, reduced PCB design complexity, and space savings. Furthermore, multiple functions can be implemented without the need for additional peripheral components, reducing PCB complexity and hardware costs.
[0047] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine different embodiments or examples described in this specification and features of different embodiments or examples without contradiction.
[0048] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of technical features indicated. Thus, a feature specified as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of this application, "N" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0049] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A multifunctional microcontroller, It is characterized in that The microcontroller is integrated with a voltage stabilizing module, a driving module and a control module, wherein: The voltage stabilizing module is used to regulate the output voltage of the microcontroller to a first preset voltage range; the voltage stabilizing module is also provided with an operational amplifier, a power tube and a compensation capacitor, wherein the operational amplifier is used to amplify the input voltage of the microcontroller to a second preset voltage range; the power tube is used to output a current within a first preset current range; the compensation capacitor is used to perform voltage compensation on the microcontroller to regulate the output voltage of the microcontroller to a first preset voltage range; The driving module is used to output a driving signal for a vehicle load so that the vehicle load works; a voltage and current conversion submodule and a plurality of second switches are provided in the driving module, wherein the voltage and current conversion submodule is used to convert a level signal received by the driving module into a current signal; the plurality of second switches are used to regulate the current corresponding to the current signal to within a second preset current interval, and the voltage and current conversion submodule is used to generate a driving signal according to the regulated current signal; and The control module is used to receive the voltage stabilization instruction and / or the driving instruction of the vehicle, and based on the voltage stabilization instruction and / or the driving instruction, control the voltage stabilization module to adjust the output voltage to the preset voltage range and / or control the driving module to output the driving signal to the vehicle load; the microcontroller is also integrated with a first communication module and a second communication module, wherein, The first communication module is used to convert the voltage stabilization instruction into a first high and low level, and send the first high and low level to the voltage stabilization module; The second communication module is used to convert the driving instruction into a second high and low level, and send the second high and low level to the driving module.
2. The microcontroller according to claim 1, It is characterized in that The voltage stabilizing module is provided with a voltage dividing resistor and a plurality of first switches, wherein: The plurality of first switches are used to adjust the resistance of the voltage-dividing resistor to a preset resistance, wherein the resistance of the corresponding voltage-dividing resistor is different when the plurality of first switches are respectively turned on.
3. The microcontroller according to claim 1, It is characterized in that The voltage and current conversion submodule includes a coding circuit and a driving circuit, wherein: The encoding circuit is used to encode the level signal received by the driving module into a target code pattern, and turn on corresponding switches among the plurality of second switches according to the target code pattern to generate a driving signal; The driving circuit is used to output a driving signal for a vehicle load.
4. A vehicle, It is characterized in that Comprising a multifunctional microcontroller as described in any one of claims 1-3.
