Design method of PCB (Printed Circuit Board), starting control method of PCB and related equipment

By assigning unique identifiers to PCB components and integrating software into the main controller, automated driving is achieved, solving the compatibility issues of PCBs under different regional regulations and improving production efficiency and reliability.

CN121833071APending Publication Date: 2026-04-10ANYSMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
ANYSMART TECH CO LTD
Filing Date
2025-12-03
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

In the global market, it is difficult for the same PCB board to be compatible with the equipment access regulations and communication protocols of different regions, resulting in low production efficiency and increased costs. Existing technologies require manual identification and configuration of driver software, which is error-prone and cumbersome.

Method used

By assigning unique device identifiers to PCB components, marking the corresponding software, and integrating it into the PCB main controller, the main controller automatically matches and starts the correct driver based on the device identifier, thus automating the entire process from hardware identification to software loading.

Benefits of technology

It improves the compatibility and flexibility of PCB boards, avoids human error, enhances the efficiency, consistency and reliability of mass production, and simplifies the production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121833071A_ABST
    Figure CN121833071A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of PCBs, and discloses a design method of a PCB, a start control method of the PCB and related equipment, the design method of the PCB comprises the following steps: obtaining device identifiers of a plurality of PCB devices, the device identifier of each PCB device being different from the device identifiers of other PCB devices in the plurality of PCB devices; multiple pieces of software are marked according to the device identifiers, each piece of software at least corresponds to one device identifier, and the software is used for supporting operation of the PCB device corresponding to the device identifier; and writing the plurality of pieces of software into the PCB master controller, wherein the PCB master controller is used for determining the software to be started according to the device identifier of the PCB device connected with the PCB master controller. The beneficial effects of the invention are that the PCB can be compatible with different PCB devices conveniently, and the production efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] Embodiments of the present application relate to the technical field of PCB (Printed Circuit Board), and particularly relate to a design method of a PCB, a start control method of the PCB and related equipment. BACKGROUND

[0002] In the globalized market of consumer electronics, manufacturers usually adopt a unified hardware platform (such as the same PCB design) to serve customers in different regions, aiming to reduce R&D costs and production complexity through standardization.

[0003] However, the same product faces significant technical challenges when sold in different regions. Each major market in the world has its own device access regulations and communication protocol compliance standards, which differ in technical indicators such as radio frequency performance, transmit power, and electromagnetic compatibility. For example, in some regions where relatively lenient standards apply, high-performance, high-cost radio frequency front-end devices must be selected to meet the specifications; while in other regions where relatively lenient standards apply, regular materials with better cost performance can be used to achieve compliance. If the top-level materials are used globally on the same PCB to be compatible with the most stringent standards, the product cost will be high in the low-demand market, weakening market competitiveness.

[0004] In related technologies, although different devices can be selected on the same PCB to adapt to regional regulations, this requires the host chip to be equipped with a dedicated driver program for different devices. In the production process, manual screening and configuration are required to write the corresponding driver software for the host chip, which not only is cumbersome and prone to errors, but also seriously hinders production automation, resulting in low efficiency. SUMMARY

[0005] Embodiments of the present application aim to provide a design method of a PCB, a start control method of the PCB and related equipment, so as to facilitate the compatibility of different PCB devices on the PCB and improve production efficiency.

[0006] To solve the above technical problems, embodiments of the present application provide a design method of a PCB, the method comprising: obtaining device identifiers of a plurality of PCB devices, wherein the device identifier of each of the plurality of PCB devices is different from the device identifiers of the other PCB devices; marking a plurality of software according to the device identifiers, wherein each of the software corresponds to at least one of the device identifiers, and the software is used to support the operation of the PCB device corresponding to the device identifier; and writing the plurality of software to a PCB host, wherein the PCB host is used to determine the software to be started according to the device identifier of the PCB device connected thereto.

[0007] The design method of the PCB in the application, by obtaining the unique device identifier of the PCB device and accurately marking the device identifier, integrates multiple software corresponding to multiple PCB devices into the PCB host, and finally automatically matches and starts the correct drive of the PCB device according to the actual connection of the PCB device by the PCB host. Therefore, the PCB involved in the application scheme has high compatibility and flexibility, which can adapt to the installation of PCB devices conforming to different regional regulations, and subsequent does not need to rely on manual screening and writing drive, realizes the whole process automation from hardware identification to software loading, eliminates the problems of drive mismatching and missing installation caused by human operation, greatly improves the efficiency, consistency and reliability of large-scale production.

[0008] The embodiment of the application further provides a start control method of a PCB, applied to a PCB host obtained by the design method of the PCB as described above, and the PCB host is connected with at least one PCB device; the method comprises the following steps: sending an inquiry instruction to the PCB device to make the PCB device reply a device identifier; determining software to be started according to the device identifier replied by the PCB device.

[0009] The start control method of the PCB in the embodiment of the application, by obtaining the unique device identifier of the PCB device, matches the device identifier with the device identifier pre-stored in the PCB host, and after successful matching, the corresponding software is started to realize the correct drive of the PCB device. Therefore, the PCB involved in the application scheme has high compatibility and flexibility, which does not need to rely on manual screening and writing drive when installing PCB devices conforming to different regional regulations, but automatically identifies hardware based on the PCB host after the device starts, and matches software with the PCB device software configuration, the whole process is automated, which improves the user experience and facilitates production enterprises to improve production efficiency.

[0010] The embodiment of the application further provides a PCB host, comprising: at least one processor; and a memory in communication connection with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the start control method of the PCB as described above.

[0011] The embodiment of the application further provides a computer readable storage medium, and the computer readable storage medium stores computer instructions, and the computer instructions are executed by a processor to realize the design method of the PCB or the start control method of the PCB as described above.

[0012] The PCB master control, the PCB board and the computer readable storage medium and the like related devices in the embodiments of the present application have similar technical effects to the design method of the PCB board and the start control method of the PCB board, and will not be described here. BRIEF DESCRIPTION OF DRAWINGS

[0013] Figure 1 A flowchart of the design method of the PCB board provided by an embodiment of the present application is shown. Figure 2 A flowchart of the start control method of the PCB board provided by an embodiment of the present application is shown. Figure 3 A principle structure block diagram of the PCB master control provided by an embodiment of the present application is shown. DETAILED DESCRIPTION

[0014] To make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the drawings. However, those skilled in the art can understand that in the embodiments of the present application, many technical details are proposed in order to make the readers better understand the present application. However, the technical solutions claimed by the present application can be implemented even without these technical details and various changes and modifications based on the following embodiments. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present application. The embodiments can be combined and referenced with each other without contradiction.

[0015] In the description of the present application, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features limited by "first" and "second" can explicitly or implicitly include one or more features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise specifically limited.

[0016] In the related art, different devices are selected on the same PCB to adapt to regional regulations, but this requires the master control chip to be equipped with a special driving program for different devices. In the production link, manual screening and configuration are also required to write the corresponding driving software for the master control chip. This process is not only cumbersome and prone to errors, but also seriously hinders the automation of production, resulting in low efficiency.

[0017] In view of this, this application proposes a PCB board design method, comprising: obtaining device identifiers of multiple PCB devices, wherein the device identifier of each PCB device is different from the device identifiers of other PCB devices; marking multiple software programs according to the device identifiers, wherein each software program corresponds to at least one device identifier, and the software programs are used to support the operation of the PCB device corresponding to the device identifier; and writing the multiple software programs to a PCB main controller, wherein the PCB main controller is used to determine the software to be started according to the device identifiers of the PCB devices connected to it. The PCB design method of this application obtains the unique device identifier of each PCB component and uses this identifier for precise marking. For software corresponding to various PCB components, multiple software programs are integrated into the PCB main controller. Finally, the PCB main controller automatically matches and starts the correct driver based on the actual connected PCB component. Therefore, the PCB board involved in this application has high compatibility and flexibility, capable of adapting to and installing PCB components that comply with different regional regulations. Subsequent manual identification and driver rewriting are unnecessary, achieving full automation from hardware identification to software loading. This eliminates problems such as driver mismatch and omissions caused by human operation, greatly improving the efficiency, consistency, and reliability of large-scale production. The following details the implementation of the bidirectional pairing method for cryptographic applications and cryptographic management systems in this application. The following implementation details are provided for ease of understanding and are not essential for implementing this solution.

[0018] Reference Figure 1 As shown, Figure 1 This is a flowchart illustrating a PCB board design method according to an embodiment of this application. This application provides a PCB board design method, including: Step 100: Obtain the device identifiers of various PCB devices, wherein the device identifier of each PCB device is different from the device identifiers of the other PCB devices.

[0019] The PCB devices in this application embodiment are devices that require software (drivers or firmware, etc.) to drive. Different types of PCB devices require different driver software, and even different models of the same type of device require different driver software. That is, corresponding to different types or models of devices on the PCB board configured based on protocol rules adapted to different areas, the specific software driving their operation is different.

[0020] PCB components include, but are not limited to, radio frequency modules, network controllers (such as Ethernet chips), graphics cards, sound cards, various sensor controllers, dedicated chips, etc. The component identifier can be an original identifier possessed by the PCB component. It is understood that the component identifier is unique for different PCB components. In the embodiments of this application, the component identifier may include a USID (Unique Slave Identity document) or a PID (Product Identity document). This component identifier can be read from a specific register of the component during power-on initialization.

[0021] In other embodiments, the device identifier may also be an identifier further generated based on the original identifier of the PCB device.

[0022] Step 200: Mark multiple software programs according to the device identifier, wherein each software program corresponds to at least one device identifier, and the software program is used to support the operation of the PCB device corresponding to the device identifier.

[0023] During the software (such as driver or firmware) design phase, multiple PCB devices to be installed can be aggregated, and software can be designed for them. In this embodiment, after obtaining the device identifiers of the PCB devices, these pre-designed software programs are acquired, and the device identifiers of the PCB devices are used as key metadata and embedded into their corresponding supporting software. For example, the supported device identifiers or a list of device identifiers can be explicitly declared in the driver's configuration file. The designed software can support the operation of PCB devices with the corresponding device identifiers.

[0024] A piece of software can be designed to support one or more PCB devices. In this case, its configuration file will declare a list of device identifiers that it is compatible with. For example, a generic sensor driver might define a static string array in its source code or configuration table to indicate that the software instance can simultaneously support PCB devices corresponding to all device identifiers in the list.

[0025] Step 300: Write multiple software programs to the PCB main controller, which is used to determine the software to be started based on the device identifier of the PCB device connected to it.

[0026] It is understood that multiple software programs are software programs that can support the operation of various types and models of PCB devices during the production process. For example, for various RF devices, there are multiple software programs to support their operation respectively. However, in reality, only one RF device may be installed on a PCB board. But in the embodiments of this application, multiple software programs for various RF devices are written into the PCB main controller.

[0027] Package all the software containing device identifiers such as USID or PID, and burn the entire package into the memory of the PCB main controller.

[0028] During subsequent PCB board production, to accommodate different regional protocols and rules, the PCB board can connect to different PCB devices. Upon system startup, the PCB controller can read the device identifier of the connected PCB device. Then, the PCB controller matches the read device identifier with the device identifiers in the software repository, accurately locating and loading the uniquely corresponding correct driver, thereby starting that specific hardware.

[0029] The PCB design method of this application obtains the unique device identifier of each PCB component and uses this identifier for precise marking. For software corresponding to various PCB components, multiple software programs are integrated into the PCB main controller. Finally, the PCB main controller automatically matches and starts the correct driver based on the actual connected PCB components. As a result, the PCB board involved in this application has high compatibility and flexibility. It can adapt to the installation of PCB components that comply with different regional regulations. Subsequently, there is no need to rely on manual identification and driver flashing. It realizes full automation from hardware identification to software loading, eliminating problems such as driver mismatch and omission caused by human operation, and greatly improving the efficiency, consistency and reliability of mass production.

[0030] In an optional embodiment of this application, the PCB design method further includes: A first command is written into the PCB main controller, and the first command is configured as follows: When the PCB master controller starts, it controls the PCB devices connected to the PCB master controller to provide feedback device identifiers, and the PCB master controller filters from a plurality of stored device identifiers to find the identifier that matches the device identifier of the PCB device connected to the PCB master controller, wherein the software to be started is the software associated with the filtered identifier.

[0031] The first command can be one or more commands pre-written into the non-volatile memory of the PCB main controller, configured to automatically drive the matching process. The specific execution logic of this command set includes two paths that can be used independently or in combination: When the PCB controller starts up, it first sends a specific query command to the connected PCB device. This command will trigger the PCB device to read from its firmware and return its unique device identifier such as USID or PID.

[0032] After the PCB controller obtains the identifier of the connected device, it executes the filtering logic. This logic compares the obtained device identifier with the device identifiers pre-stored by the controller, which contain all possible device variants (such as PCB devices corresponding to different regional regulations), and thus filters out the unique matching identifier.

[0033] Ultimately, the software to be launched is the specific driver or firmware associated with the identifier obtained in this screening. The main controller then loads and runs the software from its own storage space to complete the precise driving of the hardware.

[0034] This embodiment introduces highly scriptable commands as the core of automated control, transforming the traditional drive matching process that relies on human experience and judgment into a precise and reliable automated process that requires no human intervention. This completely avoids human error and enables the same PCB board to adaptively drive compatible devices of different models or versions, greatly enhancing the flexibility of hardware configuration and significantly improving production efficiency and supply chain responsiveness.

[0035] In an optional embodiment of this application, obtaining the device identifiers of various PCB devices includes: The device identifier is obtained based on the MIPI (Mobile Industry Processor Interface) interface of the PCB device.

[0036] This application embodiment obtains the unique device identifier of the PCB device through the MIPI interface. Specifically, a specific command is sent via the MIPI bus to access the configuration register of the PCB device, directly reading the device identifier such as USID or PID pre-programmed by the manufacturer. This standardized interface communication method reliably obtains the identifier without additional pins, laying the foundation for subsequent automatic matching of corresponding software and effectively improving hardware identification accuracy and system integration.

[0037] Reference Figure 2 As shown, Figure 2 This is a schematic flowchart of a PCB board startup control method according to one embodiment of this application. Another embodiment of this application provides a PCB board startup control method applied to a PCB main controller obtained by the PCB board design method described above, wherein the PCB main controller is connected to at least one PCB device; the method includes the following steps: Step 400: Send an inquiry command to the PCB device to cause the PCB device to reply with a device identifier; Step 500: Determine the software to be launched based on the device identifier returned by the PCB device.

[0038] This embodiment provides a PCB board startup control method, which is applied to a PCB main controller prepared by the aforementioned design method, or further, to a PCB board having the PCB main controller.

[0039] As mentioned earlier, the PCB controller pre-stores various device identifiers and their associated software during the design process. When the PCB board is manufactured, the manufacturer can install different types or models of PCB devices on the PCB board according to different needs. The PCB devices are connected to the PCB controller.

[0040] After the system is powered on, the startup control method of the PCB board begins to execute.

[0041] In step 400, the PCB controller sends a specific query command to the connected PCB device through its communication interface (such as a MIPI interface). This command can be a formatted AT command. Upon receiving the command, the PCB device reads its unique device identifier (USID or PID) from its internal non-volatile memory and replies with the device identifier to the PCB controller through the same interface.

[0042] In step 500, after receiving the device identifier from the PCB device, the PCB controller immediately searches and matches it in the database. This database contains all possible connected device variants and their corresponding software pre-installed in the controller's memory. The PCB controller precisely locates the unique entry that perfectly matches this response identifier, then identifies the software associated with that entry as the software to be started, loads and runs it, thereby completing the correct initialization and driving of the PCB device.

[0043] The PCB board startup control method in this application embodiment obtains the unique device identifier of the PCB device and matches it with the device identifier pre-stored in the PCB main controller. After successful matching, the corresponding software is started to achieve correct driving of the PCB device. Therefore, the PCB board involved in this application solution has high compatibility and flexibility. When installing PCB devices that comply with the regulations of different regions, it does not need to rely on manual identification and driver flashing. Instead, after the device is powered on, the PCB main controller automatically identifies the hardware and matches the software configuration of the PCB device. The whole process is automated, which improves the user experience and facilitates the production efficiency of manufacturing enterprises.

[0044] In addition, the PCB board startup control method of this application identifies PCB devices by their different device identifiers and pairs them with software. This eliminates the need for additional external identification circuits to identify PCB devices, thus saving on PCB board area and material costs.

[0045] In an optional embodiment of this application, determining the software to be launched based on the device identifier responded by the PCB device includes: The identifiers that match the device identifiers returned by the PCB device are filtered from the multiple device identifiers stored in the PCB master controller, wherein the software to be launched is the software associated with the filtered identifier.

[0046] In this embodiment, the PCB controller precisely compares the received device identifier with multiple pre-stored device identifiers to filter out a unique match. This matching identifier is associated with specific software (such as driver software or firmware), and the PCB controller then determines this software as the target to be launched, achieving accurate and automated matching between hardware identification and software driver.

[0047] In an optional embodiment of this application, sending an inquiry command to the PCB device to cause the PCB device to reply with a device identifier includes: In response to the PCB board power-on command, the query command is generated and sent to the PCB device through the MIPI interface of the PCB main controller, so that the PCB device responds to the query command and replies with the device identifier through the MIPI interface of the PCB device.

[0048] In this embodiment, the process of sending an inquiry command to the PCB device to elicit a device identifier from the PCB device is specifically implemented as follows: When the PCB controller detects a power-on command from the PCB board, it immediately responds to this event and automatically generates a specific inquiry command (e.g., a read command conforming to the MIPI specification). Subsequently, the PCB controller sends this command to the connected PCB device through its integrated MIPI interface. Upon receiving the inquiry command, the target PCB device reads its unique device identifier from its internal register or dedicated memory area and also replies with this identifier as a response data packet to the PCB controller through its own MIPI interface, thereby providing crucial information for subsequent software matching.

[0049] Figure 3 This is a schematic diagram of a PCB main controller provided in one embodiment of this application. Another embodiment of this application proposes a PCB main controller, including: At least one processor; and, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, which, when executed, enable the at least one processor to perform the PCB board startup control method as described above.

[0050] The memory and processor can be connected via a bus, which can include any number or type of interconnecting buses and bridges, connecting various circuits of one or more processors and memories. The bus can also connect various other circuits, such as peripheral devices, which are well known in the art and therefore will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be a single element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices over a transmission medium. Data processed by the processor is transmitted over the wireless medium via an antenna, which further receives data and transmits it to the processor.

[0051] The processor manages the bus and general processing, and also provides various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory can also be used to store data used by the processor during operation.

[0052] Another embodiment of this application provides a PCB board, including a PCB main controller as described above and at least one PCB device connected to the PCB main controller.

[0053] Another embodiment of this application relates to a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the method described in the above-described PCB board design method embodiment, or implement the above-described PCB board startup control method.

[0054] That is, those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. This program is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0055] The PCB main controller, PCB board, and computer-readable storage medium and other related devices in this application embodiment have similar technical effects to the above-mentioned PCB board design method and the above-mentioned PCB board startup control method, and will not be described in detail here.

[0056] Those skilled in the art will understand that the above embodiments are specific embodiments for implementing this application, and in practical applications, various changes can be made to them in form and detail without departing from the spirit and scope of this application.

Claims

1. A PCB design method, characterized in that, include: Obtain the device identifiers of multiple PCB devices, wherein the device identifier of each PCB device is different from the device identifiers of the other PCB devices; Multiple software programs are labeled according to the device identifier, wherein each software program corresponds to at least one device identifier, and the software program is used to support the operation of the PCB device corresponding to the device identifier; Multiple software programs are written to a PCB main controller, which is used to determine the software to be started based on the device identifier of the PCB device connected to it.

2. The PCB board design method according to claim 1, characterized in that, Also includes: A first command is written into the PCB main controller, and the first command is configured as follows: When the PCB master controller starts, it controls the PCB devices connected to the PCB master controller to provide feedback device identifiers, and the PCB master controller filters from a plurality of stored device identifiers to find the identifier that matches the device identifier of the PCB device connected to the PCB master controller, wherein the software to be started is the software associated with the filtered identifier.

3. The PCB board design method according to claim 1, characterized in that, The acquisition of device identifiers for various PCB devices includes: The device identifier is obtained based on the MIPI interface of the PCB device.

4. The PCB board design method according to claim 1, characterized in that, The device identifier includes at least one of USID and PID.

5. A startup control method for a PCB board, characterized in that, A PCB master controller obtained by the PCB design method according to any one of claims 1-4, wherein the PCB master controller is connected to at least one PCB device; the method includes: Send an inquiry command to the PCB device to prompt the PCB device to respond with a device identifier; The software to be launched is determined based on the device identifier returned by the PCB device.

6. The PCB board startup control method according to claim 5, characterized in that, The software to be launched is determined based on the device identifier returned by the PCB device, including: The identifiers that match the device identifiers returned by the PCB device are filtered from the multiple device identifiers stored in the PCB master controller, wherein the software to be launched is the software associated with the filtered identifier.

7. The PCB board start-up control method according to claim 5, characterized in that, The step of sending an inquiry command to the PCB device to cause the PCB device to respond with a device identifier includes: In response to the PCB board power-on command, the query command is generated and sent to the PCB device through the MIPI interface of the PCB main controller, so that the PCB device responds to the query command and replies with the device identifier through the MIPI interface of the PCB device.

8. A PCB main controller, characterized in that, include: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method as described in any one of claims 5-7.

9. A PCB board, characterized in that, It includes the PCB main controller as described in claim 8 and at least one PCB device connected to the PCB main controller.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed by a processor, implement the method of any one of claims 1 to 4, or the method of any one of claims 5 to 7.