A programming device
By designing a programming device that includes a main controller, an identification unit, a programming unit, and a replaceable needle bed, the problem of insufficient applicability of existing devices is solved, and efficient programming and data storage analysis of multiple types of control boards are achieved, improving the ease of operation and accuracy.
Patent Information
- Application Number
- CN202522477743.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-21
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2035-11-21
AI Technical Summary
Existing programming devices are not applicable to a variety of home appliance control boards, and suffer from insufficient flexibility, timeliness and versatility, unfriendly operation, and lack of program storage and data analysis capabilities.
A programming device was designed, comprising a main controller, an identification unit, a programming unit, a needle bed docking unit, and a replaceable needle bed. The main controller identifies the identification information and calls the corresponding program for programming. It supports multiple types of programming units and replaceable needle beds. Combined with the server storing programming status information and program library, it realizes automatic identification and program matching.
It improves the versatility and flexibility of the programming device, reduces investment costs, improves programming efficiency and accuracy, supports multi-station parallel operation, and realizes data storage and analysis functions.
Smart Images

Figure CN224985818U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of programming, and in particular to a programming device. Background Technology
[0002] Currently, in the production process of PCBA control boards for home appliances, programming the MCU on the control board is an important step. Once the program is programmed, the control board can control various peripherals and actuators according to preset instructions and rules to achieve the specific functions of the product.
[0003] Existing programming devices have the following drawbacks: Due to the wide variety of control boards for home appliances, there are differences in size, programming interface location, and MCU, making them unsuitable for programming various types of control boards. This necessitates the use of different programming devices for different types of control boards, significantly reducing flexibility, timeliness, and versatility, and also resulting in high investment costs. Furthermore, they are not user-friendly, lacking operation and display interfaces; the device program and its programming files lack a storage server, making it easy to use the wrong program and cause quality issues; and data cannot be stored, failing to meet the needs for programming data analysis and traceability. Utility Model Content
[0004] The main technical problem solved by this utility model embodiment is to provide a programming device that can solve at least some of the defects of existing programming devices.
[0005] To solve the above-mentioned technical problems, this utility model provides a programming device, comprising: a main controller; a plurality of identification units, each communicatively connected to the main controller, for identifying the identification information of the control board to be programmed; a plurality of programming units, each communicatively connected to the main controller, for programming the control board to be programmed, the plurality of programming units including at least two types of programming units; a needle bed docking unit, the plurality of programming signal terminals of the needle bed docking unit being correspondingly connected to the signal output terminals of the plurality of programming units; a replaceable needle bed, detachably connected to the needle bed docking unit, and provided with a plurality of workstations for placing the control board to be programmed; the main controller is used to call the corresponding programming program from a preset programming program library according to the identification information obtained by the identification units, and control the corresponding programming units to perform programming.
[0006] Optionally, the programming device further includes: a server, which is network-connected to the main controller and used to store programming status information; the preset programming program library is set in the server.
[0007] Optionally, the programming device further includes: a first interface expansion unit, wherein the input terminal of the first interface expansion unit is connected to the first communication interface of the main controller, and a plurality of output terminals of the first interface expansion unit are correspondingly connected to the input terminals of the plurality of identification units.
[0008] Optionally, the programming device further includes: a plurality of second interface expansion units, wherein the input terminals of the plurality of second interface expansion units are connected to a plurality of second communication interfaces of the main controller respectively, and the plurality of output terminals of the second interface expansion units are respectively connected to the input terminals of the plurality of programming units.
[0009] Optionally, the programming device further includes: a power control unit, the communication terminal of which is connected to the signal output terminal of the main controller, and the power output terminal of which is connected to the power input terminal of the needle bed docking unit, for providing a corresponding voltage to the needle bed docking unit according to the power demand signal; the power demand signal is generated by the main controller according to the identification information.
[0010] Optionally, the programming device further includes: an isolation conversion unit, the input terminal of which is connected to the signal output terminal of the main controller, and the output terminal of which is connected to the communication terminal of the power control unit, for converting the power demand signal into a switching signal.
[0011] Optionally, the power control unit includes: a power supply module and a switching module; a plurality of power output terminals of the power supply module are respectively connected to the input terminal of the switching module, the input terminal of the main controller, and the input terminals of the plurality of identification units, for supplying power to the switching module, the main controller, and the plurality of identification units; the communication terminal of the switching module is connected to the output terminal of the isolation conversion unit, and a plurality of power output terminals of the switching module are respectively connected to a plurality of power input terminals of the needle bed docking unit, for turning on the corresponding power output terminals according to the switching signal and outputting a corresponding voltage to supply power to the needle bed docking unit.
[0012] Optionally, several power output terminals of the power supply module are also connected to the power input terminals of several second interface expansion units, respectively, for supplying power to the several second interface expansion units.
[0013] Optionally, the programming device further includes a display unit connected to the main controller for displaying programming status information.
[0014] Optionally, the needle bed docking unit includes several sets of needle blocks, and each needle block includes several plum blossom needles.
[0015] The beneficial effects of this utility model embodiment are as follows: Unlike the prior art, this utility model embodiment, through replaceable needle beds and multiple types of programming units, can achieve universal programming of various types of control boards, improve the versatility and flexibility of the device, reduce the investment cost of the programming device, and at the same time improve programming efficiency and accuracy through automatic identification and program matching. Attached Figure Description
[0016] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.
[0017] Figure 1 This is a schematic diagram of the structure of the first programming device provided in this embodiment of the utility model; Figure 2 This is a schematic diagram of the structure of the second type of programming device provided in this embodiment of the utility model; Figure 3 This is a schematic diagram of the structure of the third type of programming device provided in this embodiment of the utility model; Figure 4 This is a schematic diagram of the structure of the fourth type of programming device provided in this embodiment of the utility model; Figure 5 This is a schematic diagram of the fifth type of programming device provided in this embodiment of the utility model; Figure 6 This is a schematic diagram of the sixth type of programming device provided in this embodiment of the utility model; Figure 7 This is a schematic diagram of the structure of the seventh programming device provided in this embodiment of the utility model; Figure 8 This is a schematic diagram of the eighth type of programming device provided in this embodiment of the utility model; Figure 9 This is a schematic diagram of the structure of a needle bed docking unit provided by an embodiment of this utility model. Detailed Implementation
[0018] To facilitate understanding of this utility model, a more detailed description is provided below with reference to the accompanying drawings and specific embodiments. It should be noted that when an element is described as being "fixed to" another element, it can be directly on the other element, or one or more intermediate elements may exist between them. When an element is described as being "connected" to another element, it can be directly connected to the other element, or one or more intermediate elements may exist between them. The terms "vertical," "horizontal," "left," "right," and similar expressions used in this specification are for illustrative purposes only.
[0019] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the invention. The term "and / or" as used in this specification includes any and all combinations of one or more of the associated listed items.
[0020] First Embodiment See Figure 1 In some embodiments of this application, a programming device is provided, which includes a main controller 110, a plurality of identification units, a plurality of programming units, a needle bed docking unit 140, and a replaceable needle bed 150.
[0021] In some embodiments of this application, the main controller 110 is used to receive identification information acquired by the identification unit, call the corresponding programming program from the preset programming program library, and control the corresponding programming unit to perform programming operations on the control board to be programmed. It is easy to understand that the main controller 110 has data processing and communication capabilities, and can communicate with several identification units and several programming units. As an example and not a limitation, the main controller 110 can be a microcomputer motherboard with multiple communication interfaces, capable of connecting multiple external devices simultaneously, such as Raspberry Pi, Arduino series microcontrollers, or STM32 series microcontrollers.
[0022] In some embodiments of this application, the control board to be programmed is a control board for various home appliances.
[0023] Furthermore, the main controller 110 has a preset programming library internally or externally, which stores programming programs for different types of home appliance control boards. Specifically, each type of home appliance control board corresponds to a specific programming program, which includes the MCU's firmware code and programming parameters.
[0024] In some embodiments of this application, a plurality of identification units include identification unit 121, identification unit 122 up to identification unit 12N, where N is a positive integer. Specifically, the plurality of identification units are communicatively connected to the main controller 110 and are used to identify the identification information of the control board to be programmed.
[0025] Each identification unit corresponds to a programming station and is used to identify the identification information of the control board to be programmed at that station. As an example and not a limitation, the identification information can be barcode information, QR code information, RFID tag information, or other identifiable unique identifiers.
[0026] Specifically, identification unit 121 is communicatively connected to main controller 110 and is used to identify the identification information of the control board to be programmed at the first station; identification unit 122 is communicatively connected to main controller 110 and is used to identify the identification information of the control board to be programmed at the second station; and so on, identification unit 12N is communicatively connected to main controller 110 and is used to identify the identification information of the control board to be programmed at the Nth station.
[0027] Furthermore, the identification unit scans the identification information on the control board to be programmed, converts the identification information into digital signals, and transmits them to the main controller 110 via the communication interface. The identification information contains key information such as the model, specifications, and MCU type of the control board to be programmed. The main controller 110 can determine which programming program should be invoked based on the identification information. As an example and not a limitation, several identification units can work simultaneously to achieve parallel identification operations at multiple workstations, thereby improving identification efficiency.
[0028] In some embodiments of this application, a plurality of programming units include programming unit 131, programming unit 132 up to programming unit 13N, where N is a positive integer. Specifically, the plurality of programming units are communicatively connected to the main controller 110 and are used to program the control board to be programmed.
[0029] The programming unit is used to write the programming program into the MCU of the control board to be programmed. As an example and not a limitation, the programming unit connects to the MCU of the control board to be programmed through a specific programming interface and writes the firmware code into the MCU's memory according to the programming protocol.
[0030] In some embodiments of this application, the plurality of programming units include at least two types of programming units. Specifically, different types of programming units support programming different types of MCUs. By way of example and not limitation, the first type of programming unit can be used to program MCUs based on the ARM Cortex-M series, and the second type of programming unit can be used to program MCUs based on the Atmel SAM and AVR series.
[0031] Furthermore, by configuring at least two types of programming units, the programming requirements of different home appliance control boards can be met, improving the device's versatility. Home appliance control boards may use MCUs from different manufacturers and from different series; by configuring multiple types of programming units, the programming requirements of the vast majority of home appliance control boards can be adapted.
[0032] Specifically, programming unit 131 is communicatively connected to main controller 110 and is used to program the control board to be programmed at the first station; programming unit 132 is communicatively connected to main controller 110 and is used to program the control board to be programmed at the second station; and so on, programming unit 13N is communicatively connected to main controller 110 and is used to program the control board to be programmed at the Nth station. Each programming unit corresponds to one programming station, and all programming units can work simultaneously to achieve parallel programming at multiple stations, greatly improving programming efficiency.
[0033] In some embodiments of this application, the needle bed docking unit 140 is provided with a plurality of programming signal terminals for transmitting programming signals. Specifically, the plurality of programming signal terminals of the needle bed docking unit 140 are connected to the signal output terminals of a plurality of programming units respectively.
[0034] It is easy to understand that "corresponding connection" means that there is a correspondence between several programming signal terminals of the pointer bed docking unit 140 and the signal output terminals of several programming units. As an example and not a limitation, the first set of programming signal terminals of the pointer bed docking unit 140 is connected to the signal output terminal of the programming unit 131, the second set of programming signal terminals of the pointer bed docking unit 140 is connected to the signal output terminal of the programming unit 132, and so on.
[0035] The needle bed docking unit 140 receives the programming signal transmitted by the programming unit and transmits the programming signal to the control board to be programmed on the replaceable needle bed 150. Furthermore, the needle bed docking unit 140 can also transmit a power signal to provide operating power to the control board to be programmed.
[0036] In some embodiments of this application, the needle bed docking unit 140 adopts a standardized interface design that can be used with different replaceable needle beds 150.
[0037] In some embodiments of this application, the replaceable needle bed 150 is detachably connected to the needle bed docking unit 140. Specifically, the replaceable needle bed 150 is provided with several workstations for placing the control board to be programmed.
[0038] It is easy to understand that "detachable connection" means that the replaceable needle bed 150 can be easily installed onto the needle bed docking unit 140 and can also be easily removed from the needle bed docking unit 140. As an example and not a limitation, the replaceable needle bed 150 and the needle bed docking unit 140 can be detachably connected by means of clips, bolts, plug-in interfaces, etc.
[0039] Specifically, several workstations correspond to several identification units and several programming units. Further, the first workstation is used to place the first control board to be programmed, corresponding to identification unit 121 and programming unit 131; the second workstation is used to place the second control board to be programmed, corresponding to identification unit 122 and programming unit 132; and so on, the Nth workstation is used to place the Nth control board to be programmed, corresponding to identification unit 12N and programming unit 13N.
[0040] In some embodiments of this application, the structural design of the replaceable needle bed 150 is customized according to the size and programming interface position of the control board to be programmed. It is easy to understand that different types of home appliance control boards have different sizes and programming interface positions, and by customizing different replaceable needle beds 150, different types of control boards to be programmed can be adapted.
[0041] Furthermore, the replaceable needle bed 150 is equipped with a positioning structure for precisely positioning the control board to be programmed at the workstation. Specifically, the positioning structure ensures that the programming interface of the control board to be programmed is accurately aligned with the test points on the replaceable needle bed 150, guaranteeing reliable transmission of programming signals. When it is necessary to program a new model of home appliance control board, only the corresponding replaceable needle bed 150 needs to be replaced, without replacing the entire programming device, which greatly improves the versatility and flexibility of the device and reduces investment costs.
[0042] In some embodiments of this application, the working principle of the programming device is as follows: Step 1: The operator places the control board to be programmed for the home appliance on the corresponding station of the replaceable needle bed 150. Specifically, the operator places the control board to be programmed in the station of the replaceable needle bed 150 according to its size and shape, and ensures that the control board to be programmed makes good contact with the test points on the replaceable needle bed 150.
[0043] Step 2: The operator uses the identification unit to scan the identification information on the control board to be programmed. The control board to be programmed usually has barcodes or QR codes printed on it, containing information such as the model and specifications of the control board. As an example, and not a limitation, the operator uses identification unit 121 to scan the barcode information of the control board to be programmed at the first workstation.
[0044] Step 3: The identification unit transmits the identification information to the main controller 110. Specifically, the identification unit converts the scanned identification information into a digital signal and transmits it to the main controller 110 through the communication interface.
[0045] Step 4: The main controller 110 retrieves the corresponding programming program from the preset programming program library based on the identification information. The preset programming program library stores multiple programming programs, each corresponding to a specific model of the control board to be programmed. Further, the main controller 110 parses the received identification information to determine the model of the control board to be programmed, and then searches for and retrieves the programming program corresponding to that model from the preset programming program library.
[0046] Step 5: The main controller 110 controls the corresponding programming unit to perform programming. Specifically, the main controller 110 sends the called programming program and programming instructions to the corresponding programming unit. As an example and not a limitation, if a control board to be programmed is placed at the first station, the main controller 110 sends the programming program and programming instructions to the programming unit 131.
[0047] Step 6: After receiving the programming program and programming instructions, the programming unit begins programming the MCU of the control board to be programmed. It is easy to understand that the programming unit establishes a communication connection with the MCU of the control board to be programmed through the needle bed docking unit 140 and the replaceable needle bed 150, and then writes the firmware code into the MCU's memory according to the programming protocol.
[0048] Step 7: After the programming is complete, the programming unit will send the programming result back to the main controller 110. Specifically, the programming result may include information such as programming success, programming failure, and programming error code.
[0049] Furthermore, multiple workstations can perform programming operations simultaneously. It's easy to understand that multiple identification units can simultaneously identify the identification information of the control boards to be programmed at each workstation, and the main controller 110 can simultaneously call multiple programming programs and control multiple programming units to perform programming operations simultaneously, achieving parallel programming at multiple workstations and significantly improving programming efficiency.
[0050] Second Embodiment See Figure 2 In some embodiments of this application, the programming apparatus described in the second embodiment further includes a server 160. Specifically, the server 160 is network-connected to the main controller 110 and is used to store programming status information; a preset programming program library is set in the server 160.
[0051] In some embodiments of this application, server 160 and main controller 110 communicate via a network connection. Specifically, the network connection can be a wired network connection or a wireless network connection. By way of example and not limitation, main controller 110 can establish a TCP / IP communication connection with server 160 through a network interface.
[0052] The network connection enables the main controller 110 to perform bidirectional data transmission with the server 160. Furthermore, the main controller 110 can download the programming program from the server 160 and also upload programming status information to the server 160.
[0053] Specifically, server 160 can be set up on a local area network or in the cloud. As an example and not a limitation, when server 160 is set up on a local area network, main controller 110 connects to server 160 via the local area network; when server 160 is set up in the cloud, main controller 110 connects to server 160 via the Internet.
[0054] In some embodiments of this application, server 160 is used to store programming status information. Specifically, programming status information includes various data and statuses generated during the programming process.
[0055] The programming status information may include, but is not limited to, the following: programming result (programming successful or programming failed), programming time, programming station number, identification information of the control board to be programmed, version of the programming program used, error codes during the programming process, programming duration, etc.
[0056] Furthermore, the main controller 110 uploads the programming status information to the server 160 in real time or periodically during the programming process. As an example and not a limitation, after a programming unit completes a programming operation, the main controller 110 packages the programming status information of that programming operation and uploads it to the server 160 for storage via a network connection.
[0057] Specifically, after receiving the programming status information, server 160 stores the programming status information in the database. It's easy to understand that by storing the programming status information in server 160, long-term preservation of the programming data can be achieved, preventing data loss.
[0058] In some embodiments of this application, the programming status information stored on server 160 can be used by engineers for data traceability and analysis. Specifically, engineers can access server 160 to query programming status information for a specific time period, a specific model of control board, or a specific workstation, and analyze programming success rate, programming failure reasons, etc., to provide data support for production process optimization and quality control.
[0059] Furthermore, server 160 can perform statistical analysis on the programming status information and generate programming reports. As an example, and not a limitation, server 160 can statistically analyze daily, weekly, and monthly programming quantities, programming success rates, and programming status of different control board models, generating visualized reports for administrators. By storing and analyzing programming status information in server 160, the ever-growing data storage and analysis needs of home appliances can be met, providing strong data support for production management.
[0060] In some embodiments of this application, a preset programming program library is located in the server 160. Specifically, the preset programming program library stores programming programs for different models of home appliance control boards.
[0061] The programming program contains the firmware code, programming parameters, and programming protocol of the MCU on the control board to be programmed. Furthermore, each type of home appliance control board corresponds to a specific programming program, which is written according to the characteristics of the MCU type, memory capacity, and programming interface of the control board to be programmed.
[0062] Specifically, the preset programming library is stored as a file in the file system of server 160. As an example and not a limitation, the preset programming library can be categorized and stored according to control board model, MCU type, etc., for easy management and retrieval.
[0063] In some embodiments of this application, when the main controller 110 needs to call the programming program, it downloads the corresponding programming program from the server 160. The specific workflow is as follows: Step 1: The identification unit obtains the identification information of the control board to be programmed and transmits the identification information to the main controller 110.
[0064] Step 2: The main controller 110 parses the identification information to determine the model of the control board to be programmed and the required programming program.
[0065] Step 3: The main controller 110 sends a program burning request to the server 160 via network connection. The request includes the model of the control board to be burned or the identifier of the program to be burned.
[0066] Step 4: After receiving the request, server 160 searches for the corresponding programming program in the preset programming program library.
[0067] Step 5: The server 160 transmits the found burning program to the main controller 110 via network connection.
[0068] Step 6: After receiving the programming program, the main controller 110 loads the programming program into memory and controls the corresponding programming unit to perform the programming operation.
[0069] By setting the preset programming program library in server 160, centralized management of programming programs is achieved. When it is necessary to update the programming program or add a programming program for a new model control board, it is only necessary to update or add the program in the preset programming program library of server 160, instead of updating each programming device one by one, which greatly improves the efficiency of program management.
[0070] In some embodiments of this application, server 160 includes database server functionality and file server functionality.
[0071] Specifically, the database server function is used to store programming status information. It's easy to understand that the database server stores data in a structured manner, supporting complex query, statistical, and analytical operations. As an example, and not a limitation, the database server can use a relational database to organize and store programming status information according to dimensions such as time, workstation, and model.
[0072] The database server supports concurrent access by multiple users, allowing multiple engineers to query and analyze burned data simultaneously. Specifically, engineers can access the database server through dedicated data analysis tools or a web interface to perform operations such as data querying, statistical analysis, and report generation.
[0073] In some embodiments of this application, the file server function is used to store and manage programming program files. Specifically, a preset programming program library is stored in the file server as files. It is easy to understand that the file server provides functions such as file uploading, downloading, and version management.
[0074] As an example rather than a limitation, the file server can version control the program files, record the version history of each program, and quickly revert to a previous version when a problem is found in a certain version of the program.
[0075] Furthermore, the file server can store jig codes and other related files. Specifically, the jig codes are used to control the automated process of the burning device. By centrally managing the jig codes in the file server, code maintenance and updates are facilitated.
[0076] Third Embodiment See Figure 3 In some embodiments of this application, the programming apparatus based on the first or second embodiment further includes a first interface expansion unit 170. Specifically, the input terminal of the first interface expansion unit 170 is connected to the first communication interface of the main controller 110, and several output terminals of the first interface expansion unit 170 are correspondingly connected to the input terminals of several identification units.
[0077] In some embodiments of this application, the main controller 110 needs to communicate with several identification units simultaneously to achieve multi-station parallel identification operations. It is easy to understand that the main controller 110 itself may have a limited number of communication interfaces and cannot directly connect to all identification units.
[0078] Specifically, by setting the first interface expansion unit 170, one communication interface of the main controller 110 can be expanded into multiple communication interfaces, thereby enabling the main controller 110 to connect to several identification units simultaneously. As an example and not a limitation, if the programming device has 4 workstations and requires 4 identification units, but the main controller 110 may only have 1 or 2 available serial communication interfaces, then the interface expansion unit 170 is needed for interface expansion.
[0079] Furthermore, the configuration of the first interface expansion unit 170 allows for greater flexibility in the structure of the programming device. It is easy to understand that when the number of workstations needs to be increased or decreased, only the configuration of the first interface expansion unit 170 needs to be adjusted accordingly, without needing to replace the main controller 110.
[0080] In some embodiments of this application, the input terminal of the first interface expansion unit 170 is connected to the first communication interface of the main controller 110. Specifically, the first communication interface is a communication interface on the main controller 110 used for data communication with external devices.
[0081] It is easy to understand that the first communication interface can be of various types. As an example and not a limitation, the first communication interface can be a USB interface, a serial interface, a parallel interface, or other communication interfaces. Furthermore, the type of the first communication interface matches the input interface type of the first interface expansion unit 170 to achieve reliable connection and data transmission.
[0082] Specifically, the input terminal of the first interface expansion unit 170 is connected to the first communication interface of the main controller 110 via a communication cable. By way of example and not limitation, when the first communication interface is a USB interface, a USB data cable can be used to connect the input terminal of the first interface expansion unit 170 to the first communication interface of the main controller 110.
[0083] In some embodiments of this application, several output terminals of the first interface expansion unit 170 are correspondingly connected to the input terminals of several identification units. Specifically, "corresponding connection" means that each output terminal of the first interface expansion unit 170 is connected to the input terminal of one identification unit, establishing a one-to-one connection relationship.
[0084] The number of output terminals of the first interface expansion unit 170 matches the number of identification units. By way of example and not limitation, if the programming device is configured with four identification units, the first interface expansion unit 170 shall correspondingly have four output terminals, each of which is connected to one identification unit.
[0085] Furthermore, the first output terminal of the first interface expansion unit 170 is connected to the input terminal of the recognition unit 121, the second output terminal is connected to the input terminal of the recognition unit 122, and so on, with the Nth output terminal connected to the input terminal of the recognition unit 12N.
[0086] Specifically, the output of the first interface expansion unit 170 is connected to the input of the identification unit via a communication cable. The length of the communication cable can be selected according to actual layout needs to meet the distance requirements between different workstations.
[0087] In some embodiments of this application, the first interface expansion unit 170 is used to implement the functions of expanding the communication interface and signal conversion. Specifically, the first interface expansion unit 170 receives data sent by the main controller 110 from the first communication interface and distributes the data to several output terminals.
[0088] The first interface expansion unit 170 includes an interface conversion circuit and a signal distribution circuit. The interface conversion circuit is used to convert the signal format of the first communication interface into the signal format required by the identification unit; the signal distribution circuit is used to distribute the converted signal to several output terminals.
[0089] By way of example and not limitation, the first interface expansion unit 170 may include electronic components such as a processing chip, a signal conversion chip, and an interface driver chip. Specifically, the processing chip is responsible for receiving, parsing, and distributing data; the signal conversion chip is responsible for converting signal formats; and the interface driver chip is responsible for driving the signal transmission at the output terminal.
[0090] In some embodiments of this application, the first interface expansion unit 170 supports bidirectional communication. Specifically, the first interface expansion unit 170 can not only transmit data from the main controller 110 to the identification unit, but also transmit data from the identification unit to the main controller 110.
[0091] It is easy to understand that after the identification unit identifies the identification information of the control board to be programmed, it needs to transmit the identification information to the main controller 110. Further, the identification unit sends the identification information to the corresponding output terminal of the first interface expansion unit 170, and the first interface expansion unit 170 transmits the received identification information to the first communication interface of the main controller 110 through the input terminal.
[0092] As an example and not a limitation, the main controller 110 can send control commands to the identification unit through the first interface expansion unit 170, such as commands to start scanning, stop scanning, and set scanning parameters; after receiving the control command, the identification unit performs the corresponding operation and feeds back the execution result or the identified identification information to the main controller 110 through the first interface expansion unit 170.
[0093] In some embodiments of this application, the first interface extension unit 170 may take various specific forms: The first interface expansion unit 170 is a USB to serial port module. Specifically, the input end of the USB to serial port module is a USB interface, which is connected to the USB interface of the main controller 110; the several output ends of the USB to serial port module are serial communication interfaces, which are respectively connected to the serial communication input ends of several identification units.
[0094] A USB-to-serial module can convert a USB interface into multiple serial communication interfaces. By way of example and not limitation, a USB-to-serial module can convert one USB interface into four RS232 or RS485 serial communication interfaces.
[0095] Furthermore, when the identification unit is a serial barcode scanner, the serial barcode scanner transmits data with the main controller 110 through a serial communication interface. Specifically, after scanning the barcode information, the serial barcode scanner converts the barcode information into serial data and sends it to the USB-to-serial module through the serial communication interface. The USB-to-serial module then transmits the data to the main controller 110.
[0096] In some embodiments of this application, the USB-to-serial module includes a USB-to-serial chip. By way of example and not limitation, the USB-to-serial chip may be the FT232 series chip from FTDI, the PL2303 series chip from Prolific, or a USB-to-serial chip from another manufacturer.
[0097] Specifically, the USB-to-serial chip has a built-in function to convert between USB communication protocols and serial communication protocols, enabling it to automatically convert between USB signals and serial signals. It's easy to understand that using a mature USB-to-serial chip simplifies the design of the first interface expansion unit 170 and improves system reliability.
[0098] The first interface expansion unit 170 is a serial port hub. Specifically, the input end of the serial port hub is a serial communication interface, which is connected to the serial communication interface of the main controller 110; several output ends of the serial port hub are serial communication interfaces, which are respectively connected to the input ends of several identification units.
[0099] It's easy to understand that a serial port hub can expand a single serial communication interface into multiple serial communication interfaces. Furthermore, a serial port hub internally includes signal distribution and buffering circuitry, enabling one-to-many serial communication.
[0100] In some embodiments of this application, the main controller 110 can communicate independently with several identification units through the first interface expansion unit 170. Specifically, "independent communication" means that the main controller 110 can send data to different identification units respectively, and can also receive data sent by different identification units respectively.
[0101] Several identification units correspond to several programming stations. The programming operation of each station can be performed independently. When a station needs to identify identification information, the main controller 110 can send an identification instruction to the corresponding identification unit through the first interface expansion unit 170. After the identification unit performs the identification operation, it will send the identification information back to the main controller 110 without affecting the operation of other stations.
[0102] As an example and not a limitation, assume the programming device is configured with four workstations, corresponding to four identification units. When the operator places the control board to be programmed at the second workstation, the main controller 110 sends a scanning command to the identification unit 122 through the first interface expansion unit 170. The identification unit 122 scans the barcode information of the control board to be programmed at the second workstation and transmits the barcode information to the main controller 110 through the first interface expansion unit 170. During this process, the identification units 121, 123, and 124 at other workstations are unaffected and can continue their respective identification tasks.
[0103] Furthermore, the first interface expansion unit 170 can manage the communication of multiple output terminals using time-division multiplexing or address identification. As an example and not a limitation, the data sent by the main controller 110 may include the address identifier of the target output terminal, and the first interface expansion unit 170 routes the data to the corresponding output terminal according to the address identifier; the data returned by the identification unit also includes the source address identifier, and the first interface expansion unit 170 associates the data with the corresponding identification unit according to the source address identifier before transmitting it to the main controller 110.
[0104] In some embodiments of this application, the communication process between the main controller 110 and the identification unit through the first interface expansion unit 170 is as follows: Step 1: The operator places the control board to be programmed on a station of the replaceable needle bed 150.
[0105] Step 2: The main controller 110 detects a control board to be programmed at the workstation and sends an identification command to the first interface expansion unit 170. Specifically, the identification command includes the address information of the target identification unit and the identification command.
[0106] Step 3: After receiving the identification command, the first interface expansion unit 170 determines the target identification unit based on the address information and sends the identification command to the target identification unit through the corresponding output terminal.
[0107] Step 4: After receiving the identification command, the target identification unit starts the scanning function to scan the identification information on the control board to be programmed.
[0108] Step 5: The target recognition unit sends the scanned identification information to the corresponding output terminal of the first interface expansion unit 170 through the input terminal.
[0109] Step 6: After receiving the identification information, the first interface expansion unit 170 packages the identification information and transmits it to the first communication interface of the main controller 110 through the input terminal.
[0110] Step 7: The main controller 110 receives the identification information, parses the identification information, and calls the corresponding programming program from the preset programming program library according to the identification information.
[0111] Through the above communication process, the main controller 110 can effectively communicate with several identification units through the first interface expansion unit 170 to realize multi-station parallel identification operation.
[0112] Fourth embodiment See Figure 4 In some embodiments of this application, the programming apparatus based on any one of the first to third embodiments further includes a plurality of second interface expansion units. Specifically, the input terminals of the plurality of second interface expansion units are correspondingly connected to a plurality of second communication interfaces of the main controller 110, and the plurality of output terminals of the second interface expansion units are respectively connected to the input terminals of the plurality of programming units.
[0113] In some embodiments of this application, the programming device is configured with several programming units for parallel programming of control boards to be programmed at several workstations. To improve programming efficiency, multiple programming units need to be configured simultaneously to achieve multi-workstation parallel programming operations.
[0114] Specifically, the main controller 110 needs to communicate with several programming units simultaneously to control the programming operation of each programming unit. As an example and not a limitation, the main controller 110 needs to send programming programs and programming instructions to the programming units, and the programming units need to report the programming status and programming results back to the main controller 110.
[0115] The main controller 110 may have a limited number of communication interfaces, making it impossible to directly connect all programming units. Furthermore, even if the main controller 110 has a sufficient number of communication interfaces, directly connecting a large number of programming units would complicate system wiring and make management and maintenance inconvenient.
[0116] In some embodiments of this application, by setting up a plurality of second interface expansion units, the plurality of communication interfaces of the main controller 110 can be expanded into more communication interfaces, thereby realizing the connection between the main controller 110 and a plurality of programming units. Specifically, each second interface expansion unit can expand one communication interface into multiple communication interfaces. By configuring a plurality of second interface expansion units, the number of programming units that can be connected can be significantly increased.
[0117] As an example and not a limitation, suppose the main controller 110 is configured with two communication interfaces that can be used to connect the programming units. Each second interface expansion unit can expand one communication interface into four communication interfaces. Then, by configuring two second interface expansion units, the two communication interfaces can be expanded into eight communication interfaces, thereby connecting eight programming units and realizing eight-station parallel programming.
[0118] The inclusion of several second interface expansion units also gives the programming device excellent scalability. It's easy to understand that when the number of workstations and programming units needs to be increased, this can be achieved by adding second interface expansion units without replacing the main controller 110, thus reducing the cost and difficulty of system upgrades.
[0119] In some embodiments of this application, a plurality of second interface expansion units include second interface expansion unit 181, second interface expansion unit 182, up to second interface expansion unit 18M, where M is a positive integer. Specifically, the number of second interface expansion units is determined based on the number of programming units and the number of communication interfaces of the main controller 110.
[0120] It's easy to understand that if the total number of programming units is K, and each second interface expansion unit can expand to P output terminals, then at least K / P second interface expansion units (rounded up) need to be configured. As an example, and not a limitation, if the programming device is configured with 8 programming units, and each second interface expansion unit can expand to 4 output terminals, then at least 2 second interface expansion units need to be configured.
[0121] Specifically, the number of secondary interface expansion units is also limited by the number of available communication interfaces of the main controller 110. Furthermore, the main controller 110 needs to have at least the same number of available communication interfaces as the number of secondary interface expansion units in order to enable independent connection of each secondary interface expansion unit.
[0122] In some embodiments of this application, different types of programming units can be assigned to different second interface expansion units according to the type of programming unit. Specifically, the plurality of programming units includes at least two types of programming units, and different types of programming units can be connected to different second interface expansion units respectively.
[0123] The programming units include first-type programming units and second-type programming units. By way of example and not limitation, the programming units include M types of programming units. The first-type programming units include programming units 131 to 13j, etc., used for programming a first-type MCU; the second-type programming units include programming units 13k to 13p, etc., used for programming a second-type MCU, ..., and the Mth-type programming units include programming units 13s to 13N. Further, a second interface expansion unit 181 connects to several first-type programming units, a second interface expansion unit 182 connects to several second-type programming units, ..., and a second interface expansion unit 18M connects to several Mth-type programming units.
[0124] In some embodiments of this application, the input terminals of several second interface expansion units are correspondingly connected to several second communication interfaces of the main controller 110. Specifically, "corresponding connection" means that the input terminal of each second interface expansion unit is connected to one of the second communication interfaces of the main controller 110, establishing a one-to-one connection relationship.
[0125] It is easy to understand that the several second communication interfaces are communication interfaces on the main controller 110 used to connect to the programming unit. As an example and not a limitation, the several second communication interfaces can be USB interfaces, Ethernet interfaces, serial interfaces, or other types of communication interfaces.
[0126] Specifically, the input terminal of the second interface expansion unit 181 is connected to the first second communication interface of the main controller 110, the input terminal of the second interface expansion unit 182 is connected to the second second communication interface of the main controller 110, and so on, the input terminal of the second interface expansion unit 18M is connected to the Mth second communication interface of the main controller 110.
[0127] Furthermore, the input terminal of the second interface expansion unit is connected to the second communication interface of the main controller 110 via a communication cable. It is easy to understand that the type of communication cable matches the type of communication interface. As an example, and not a limitation, when the second communication interface is a USB interface, a USB data cable is used to connect the input terminal of the second interface expansion unit to the USB interface of the main controller 110.
[0128] In some embodiments of this application, the main controller 110 can independently communicate with each second interface expansion unit through several second communication interfaces. Specifically, the main controller 110 can send data to different second interface expansion units respectively, and can also receive data transmitted by different second interface expansion units respectively.
[0129] In some embodiments of this application, several output terminals of the second interface expansion unit are respectively connected to the input terminals of several programming units. Specifically, each second interface expansion unit has several output terminals, and each output terminal is connected to the input terminal of a programming unit.
[0130] It is easy to understand that the number of output terminals of the second interface expansion unit determines the number of programming units that the second interface expansion unit can connect to. As an example and not a limitation, if the second interface expansion unit has 4 output terminals, then the second interface expansion unit can connect to 4 programming units.
[0131] The output of the second interface expansion unit is connected to the input of the programming unit via a communication cable. It's easy to understand that the length of the communication cable can be selected according to actual layout needs to accommodate the distance between different workstations.
[0132] In some embodiments of this application, a plurality of programming units include programming units 131, ..., programming units 13j, programming units 13k, ..., programming units 13p, programming units 13s up to programming unit 13N. Specifically, the combination of numbers and letters in the programming unit numbering represents different programming units, and the number 13N represents the Nth programming unit.
[0133] By expanding with several second interface expansion units, a large number of programming units can be connected. As an example, and not a limitation, if M second interface expansion units are configured, and each second interface expansion unit has P output terminals, then a total of M×P programming units can be connected, realizing parallel programming at M×P workstations.
[0134] In some embodiments of this application, the second interface expansion unit is used to implement the extended function of the communication interface. Specifically, the second interface expansion unit receives data sent by the main controller 110 from the second communication interface, distributes the data to several output terminals, and transmits it to the connected programming unit.
[0135] It is easy to understand that the second interface expansion unit internally includes an interface control circuit and a signal distribution circuit. Furthermore, the interface control circuit manages data transmission between the input and output terminals, while the signal distribution circuit routes the data received at the input terminal to the corresponding output terminal.
[0136] As an example and not a limitation, the second interface expansion unit may include electronic components such as a hub control chip, a signal buffer, and an interface driver. Specifically, the hub control chip is responsible for receiving, parsing, routing, and forwarding data; the signal buffer is used to temporarily store data and improve the reliability of data transmission; and the interface driver is responsible for driving the signal transmission at the output end.
[0137] In some embodiments of this application, the second interface expansion unit supports bidirectional data transmission. Specifically, the second interface expansion unit can not only transmit data from the main controller 110 to the programming unit, but also transmit data from the programming unit to the main controller 110.
[0138] During the programming process, the programming unit needs to communicate bidirectionally with the MCU of the control board to be programmed, and also needs to report the programming status and results to the main controller 110. Further, the programming unit sends data to the corresponding output of the second interface expansion unit, and the second interface expansion unit transmits the received data to the second communication interface of the main controller 110 through its input.
[0139] As an example and not a limitation, the main controller 110 sends the programming program and programming instructions to the programming unit through the second interface expansion unit. The programming unit performs the programming operation and feeds back information such as programming progress and programming results to the main controller 110 through the second interface expansion unit.
[0140] In some embodiments of this application, the second interface expansion unit may be a USB hub. Specifically, the input end of the USB hub is a USB interface, which is connected to the USB interface of the main controller 110; several output ends of the USB hub are USB interfaces, which are respectively connected to the USB input ends of several programming units.
[0141] It's easy to understand that a USB hub can expand one USB port into multiple USB ports, enabling one-to-many USB connections. As an example, and not a limitation, a USB hub can expand one USB port into four, seven, or more USB ports.
[0142] Fifth embodiment See Figure 5 In some embodiments of this application, the programming apparatus based on any one of the first to fourth embodiments further includes a power control unit 190. Specifically, the communication terminal of the power control unit 190 is connected to the signal output terminal of the main controller 110, and the power output terminal of the power control unit 190 is connected to the power input terminal of the needle bed docking unit 140, for providing a corresponding voltage to the needle bed docking unit 140 according to the power demand signal; the power demand signal is generated by the main controller 110 according to the identification information.
[0143] In some embodiments of this application, different models of home appliance control boards may use different types of MCUs, and different types of MCUs require different power supply voltages during the programming process. Specifically, some MCUs require 5V power supply during programming, some require 3.3V power supply, and some MCUs may require other voltage levels.
[0144] To achieve versatility in the programming device, enabling a single device to adapt to the programming needs of various types of home appliance control boards, a switchable power supply voltage is required for the control board to be programmed. As an example, and not a limitation, when the MCU of the control board to be programmed requires 5V, the programming device should provide 5V; when the MCU requires 3.3V, the programming device should provide 3.3V.
[0145] Specifically, if the power supply voltage is switched manually, the operator needs to manually adjust the power switch or replace the power module according to the type of control board to be programmed, which is cumbersome and prone to errors. Furthermore, if the operator selects the wrong power supply voltage, it may damage the control board to be programmed or cause programming failure, affecting product quality and production efficiency.
[0146] In some embodiments of this application, the power supply control unit 190 enables automatic switching of the power supply voltage. It is easy to understand that the main controller 110 automatically determines the required power supply voltage for the control board to be programmed based on the identified identification information of the control board to be programmed, and provides the corresponding voltage to the control board through the power supply control unit 190, without manual intervention, thus improving the automation and reliability of the programming process.
[0147] As an example and not a limitation, when the identification unit identifies the identification information of the control board to be programmed as "Model A", the main controller 110 queries the preset database and finds that the "Model A" control board requires 5V power supply, then the main controller 110 controls the power control unit 190 to output 5V voltage; when the identification information is "Model B", the main controller 110 queries the database and finds that the "Model B" control board requires 3.3V power supply, then the main controller 110 controls the power control unit 190 to output 3.3V voltage.
[0148] Furthermore, the power control unit 190 can also achieve timing control of power supply. Specifically, the main controller 110 can power on the control board to be programmed before programming begins and power off the control board to be programmed after programming is completed, ensuring the safety and reliability of the programming process.
[0149] In some embodiments of this application, the communication terminal of the power control unit 190 is connected to the signal output terminal of the main controller 110. Specifically, the communication terminal is the interface on the power control unit 190 used to receive control signals, and the signal output terminal is the interface on the main controller 110 used to send control signals.
[0150] The main controller 110 sends a power demand signal to the communication terminal of the power control unit 190 through the signal output terminal. After receiving the power demand signal, the power control unit 190 performs the corresponding power supply control operation according to the signal content.
[0151] By way of example and not limitation, the signal output terminal of the main controller 110 can be a general purpose input / output pin (GPIO), through which digital or analog signals are output to the communication terminal of the power control unit 190. Furthermore, the signal output terminal of the main controller 110 can also be a serial communication interface, such as UART, SPI, I2C, etc., to send control commands to the power control unit 190 via serial communication.
[0152] In some embodiments of this application, the signal output terminal of the main controller 110 is an I / O pin. Specifically, the main controller 110 is configured with a plurality of I / O pins for signal interaction with external devices. Further, certain I / O pins of the main controller 110 are configured in output mode for sending power demand signals to the power control unit 190.
[0153] As an example and not a limitation, the main controller 110 can output TTL level signals, such as high level (3.3V or 5V) and low level (0V), through IO pins, with different combinations of levels representing different power supply requirements. It is easy to understand that if multiple power supply voltage requirements need to be represented, multiple IO pin combinations can be used for encoding, or more complex control information can be transmitted using serial communication.
[0154] In some embodiments of this application, the power demand signal is generated by the main controller 110 based on identification information. Specifically, the power demand signal is used to indicate the type and value of the power supply voltage required by the control board to be programmed.
[0155] After receiving the identification information transmitted by the identification unit, the main controller 110 first parses the identification information to determine the model of the control board to be programmed. Further, based on the control board model, the main controller 110 queries a preset configuration database for the power supply voltage requirements of that control board model.
[0156] As an example, and not a limitation, the default configuration database stores parameter information for various control board models, including MCU type, programming path, power supply voltage, etc. Specifically, the configuration database can be organized in tabular form, with each row corresponding to a control board model and including fields such as model name, MCU type, power supply voltage, and programming path.
[0157] In some embodiments of this application, after the main controller 110 queries the power supply voltage requirement of the control board to be programmed, it generates a corresponding power supply requirement signal. Specifically, the format and content of the power supply requirement signal are determined according to the interface protocol of the power control unit 190.
[0158] It's easy to understand that power demand signals can take many forms. As an example, and not a limitation, a power demand signal can be a simple switching signal, such as "output 5V" corresponding to a high level and "output 3.3V" corresponding to a low level; a power demand signal can also be an encoded signal, such as "00" indicating power off, "01" indicating output 3.3V, "10" indicating output 5V, and "11" reserved; a power demand signal can also be a serial communication data packet, containing information such as command words, voltage values, and checksums.
[0159] Specifically, after generating a power demand signal, the main controller 110 sends it to the communication terminal of the power control unit 190 through its signal output terminal. Further, upon receiving the power demand signal, the power control unit 190 parses the signal content and executes corresponding power supply control operations according to the signal indication.
[0160] In some embodiments of this application, the power output terminal of the power control unit 190 is connected to the power input terminal of the needle bed docking unit 140. Specifically, the power output terminal is the interface on the power control unit 190 that outputs power, and the power input terminal is the interface on the needle bed docking unit 140 that receives power.
[0161] The power control unit 190 supplies power to the power input of the needle bed docking unit 140 through its power output terminal. Further, after receiving the power, the needle bed docking unit 140 transmits the power to the replaceable needle bed 150, ultimately powering the control board to be programmed on the replaceable needle bed 150.
[0162] By way of example and not limitation, the power output terminal of the power control unit 190 may include several power output interfaces, each corresponding to a different voltage level or a different workstation. Specifically, the power output terminal may include a 5V power output interface and a 3.3V power output interface, used to output 5V voltage and 3.3V voltage respectively.
[0163] Specifically, after receiving power, the power input terminal of the needle bed docking unit 140 distributes the power to several workstations. Furthermore, the needle bed docking unit 140 can have an independent power input terminal for each workstation, or it can have a unified power input terminal, and then distribute the power to each workstation within the needle bed docking unit 140.
[0164] As an example and not a limitation, if the programming device is configured with 4 stations, the bed-of-needle docking unit 140 may have 4 power input terminals, each corresponding to one of the 4 stations; the power output terminal of the power control unit 190 also has 4 power output interfaces, each connected to one of the 4 power input terminals of the bed-of-needle docking unit 140.
[0165] In some embodiments of this application, the main controller 110 can realize timing control of power supply through the power control unit 190. Specifically, the main controller 110 can control the power supply on and off at different stages of the burning process to ensure the safety and reliability of the burning process.
[0166] Before programming begins, the control board to be programmed must be powered on to put the MCU into operation. After programming is complete, the control board to be programmed must be powered off to avoid overheating of the device or waste of energy due to prolonged power supply. As an example, and not a limitation, the power supply timing control for the programming process is as follows: Step 1: The operator places the control board to be programmed on the workstation of the replaceable needle bed 150.
[0167] Step 2: The main controller 110 detects a control board to be programmed at the workstation, but does not supply power at this time.
[0168] Step 3: The identification unit identifies the identification information of the control board to be programmed and transmits it to the main controller 110.
[0169] Step 4: The main controller 110 determines the power supply voltage based on the identification information, generates a power supply demand signal, and controls the power control unit 190 to provide the corresponding voltage power supply to the control board to be programmed.
[0170] Step 5: After the control board is powered on, the main controller 110 waits for a period of time (e.g., 100 milliseconds) to ensure that the MCU works stably.
[0171] Step 6: The main controller 110 controls the programming unit to start the programming operation.
[0172] Step 7: After the programming is completed, the main controller 110 generates a power-off demand signal to control the power control unit 190 to disconnect the power output.
[0173] Step 8: The operator removes the control board after the programming is complete.
[0174] Sixth Embodiment See Figure 6 In some embodiments of this application, the programming apparatus described in the fifth embodiment further includes an isolation conversion unit 200. Specifically, the input terminal of the isolation conversion unit 200 is connected to the signal output terminal of the main controller 110, and the output terminal of the isolation conversion unit 200 is connected to the communication terminal of the power control unit 190, for converting the power demand signal into a switching signal.
[0175] In some embodiments of this application, the main controller 110 and the power control unit 190 need to communicate to transmit power demand signals. It is easy to understand that the main controller 110 and the power control unit 190 may use different communication protocols and signal level standards, requiring signal conversion to achieve reliable communication.
[0176] Specifically, the main controller 110 may use a TTL level serial communication signal, while the power control unit 190 may use the RS485 communication protocol. By way of example and not limitation, TTL levels are typically two levels: 0V and 3.3V (or 5V), suitable for short-distance communication; RS485 uses differential signal transmission, has strong anti-interference capabilities, and is suitable for long-distance and industrial environments.
[0177] It is easy to understand that if a TTL signal is directly connected to an RS485 interface, normal communication cannot be achieved due to the mismatch between the signal level and the communication protocol. Furthermore, by setting up an isolation conversion unit 200, the conversion between TTL signals and RS485 signals can be realized, enabling the main controller 110 to communicate reliably with the power control unit 190.
[0178] In some embodiments of this application, the isolation conversion unit 200 also has an electrical isolation function. Specifically, electrical isolation refers to the electrical isolation between the input terminal and the output terminal during signal transmission, avoiding direct electrical connection between the two ends.
[0179] Electrical isolation prevents electrical interference and mutual influence between the main controller 110 and the power control unit 190. By way of example and not limitation, the power control unit 190 generates significant current changes and electromagnetic interference when switching relays. Without electrical isolation, the interference signals could be transmitted to the main controller 110 through the communication lines, affecting the normal operation of the main controller 110.
[0180] Furthermore, electrical isolation also provides safety protection. Specifically, when a fault occurs on the power control unit 190 side, resulting in abnormal voltage, electrical isolation can prevent the abnormal voltage from being conducted to the main controller 110, protecting the safety of the main controller 110. As an example and not a limitation, if a high-voltage fault occurs on the power control unit 190 side (such as a power short circuit causing high voltage to enter the communication line), electrical isolation can block the high-voltage conduction path, preventing the main controller 110 from being damaged by high voltage.
[0181] In some embodiments of this application, the input terminal of the isolation conversion unit 200 is connected to the signal output terminal of the main controller 110. Specifically, the input terminal is the interface on the isolation conversion unit 200 used to receive signals from the main controller 110, and the signal output terminal is the interface on the main controller 110 used to send signals.
[0182] By way of example and not limitation, the signal output of the main controller 110 can be a GPIO pin configured for serial communication. Specifically, the main controller 110 may have a dedicated serial communication interface, such as a UART interface, including a transmit pin (TX) and a receive pin (RX).
[0183] In some embodiments of this application, the signal output terminal of the main controller 110 includes several pins for serial communication and power supply. Specifically, the signal output terminal may include a power supply pin (VCC), a ground pin (GND), a transmit pin (TX), and a receive pin (RX).
[0184] The power supply pin and ground pin are used to provide operating power to the isolation conversion unit 200, and the transmit pin and receive pin are used to transmit serial communication signals. By way of example and not limitation, the power supply pin outputs a 3.3V voltage to power the input side circuitry of the isolation conversion unit 200.
[0185] Specifically, the power supply pin of the main controller 110 is connected to the VCC terminal of the isolation conversion unit 200, the ground pin of the main controller 110 is connected to the GND terminal of the isolation conversion unit 200, the transmit pin of the main controller 110 is connected to the RX terminal of the isolation conversion unit 200, and the receive pin of the main controller 110 is connected to the TX terminal of the isolation conversion unit 200.
[0186] Furthermore, the transmit pin of the main controller 110 outputs a TTL level serial data signal, and the RX terminal of the isolation conversion unit 200 receives the TTL level signal; the TX terminal of the isolation conversion unit 200 outputs a TTL level signal, and the receive pin of the main controller 110 receives the TTL level signal, thereby realizing bidirectional communication.
[0187] In some embodiments of this application, the output terminal of the isolation conversion unit 200 is connected to the communication terminal of the power control unit 190. Specifically, the output terminal is an interface on the isolation conversion unit 200 used to send signals to the power control unit 190, and the communication terminal is an interface on the power control unit 190 used to receive control signals.
[0188] By way of example and not limitation, the communication terminal of the power control unit 190 can be an RS485 communication interface, including signal lines A and B. Specifically, RS485 uses differential signal transmission, where the voltage difference between signal lines A and B represents the logic level, providing strong anti-interference capability.
[0189] In some embodiments of this application, the output terminal of the isolation conversion unit 200 includes an A terminal and a B terminal for outputting an RS485 differential signal. Specifically, the A terminal of the isolation conversion unit 200 is connected to the A signal line of the communication terminal of the power control unit 190, and the B terminal of the isolation conversion unit 200 is connected to the B signal line of the communication terminal of the power control unit 190.
[0190] Through the two signal lines A and B, the isolation conversion unit 200 can transmit RS485 format switching signals to the power control unit 190. Furthermore, RS485 supports multi-point communication, allowing multiple devices to be connected to the same pair of A and B signal lines and communicate via address identification.
[0191] Specifically, if the programming device is equipped with multiple power control units 190, the communication terminals of the multiple power control units 190 can be connected in parallel to the output terminal of the isolation conversion unit 200. The main controller 110 controls different power control units 190 respectively by sending commands with different device addresses.
[0192] In some embodiments of this application, the isolation conversion unit 200 is used to convert the power demand signal into a switching signal. Specifically, the power demand signal is a TTL level serial signal output by the main controller 110, and the switching signal is an RS485 format signal that the power control unit 190 can recognize.
[0193] Signal conversion includes two aspects: level conversion and protocol conversion. Specifically, level conversion refers to converting TTL levels (e.g., 0V / 3.3V) to RS485 differential levels (e.g., -7V to +12V); protocol conversion refers to converting single-ended signal formats to differential signal formats.
[0194] As an example and not a limitation, when the transmit pin of the main controller 110 outputs a TTL high level (3.3V), a corresponding differential voltage (e.g., AB=+2V) is generated between the output terminals A and B of the isolation conversion unit 200, indicating a logic high level; when the transmit pin of the main controller 110 outputs a TTL low level (0V), an opposite differential voltage (e.g., AB=-2V) is generated between the output terminals A and B of the isolation conversion unit 200, indicating a logic low level.
[0195] In some embodiments of this application, the power demand signal includes specific data content used to instruct the power control unit 190 to perform corresponding power supply control operations. Specifically, the power demand signal may include command words, parameters, check codes, and other information.
[0196] As an example, and not a limitation, the power demand signal can be in serial data packet format, which includes a start bit, device address, command code, data byte, parity byte, and stop bit. Furthermore, the command code can include instructions such as "connect 5V power," "connect 3.3V power," and "disconnect power."
[0197] It is easy to understand that when the isolation conversion unit 200 performs signal conversion, it only changes the signal level and physical form, without changing the data content of the signal. Specifically, the data content of the power demand signal is converted into the data content of the switching signal without any changes. After receiving the switching signal, the power control unit 190 can correctly parse the instructions sent by the main controller 110.
[0198] Seventh Embodiment See Figure 7 In some embodiments of this application, based on the programming apparatus described in the sixth embodiment, the power control unit 190 includes a power supply module 191 and a switching module 192. Specifically, several power output terminals of the power supply module 191 are respectively connected to the input terminals of the switching module 192, the main controller 110, and several identification units, for supplying power to the switching module 192, the main controller 110, and several identification units; the communication terminal of the switching module 192 is connected to the output terminal of the isolation conversion unit 200, and several power output terminals of the switching module 192 are respectively connected to several power input terminals of the needle bed docking unit 140, for turning on the corresponding power output terminals according to the switching signal and outputting the corresponding voltage to supply power to the needle bed docking unit 140.
[0199] Specifically, power supply module 191 is responsible for generating and distributing power at various voltage levels, while switching module 192 is responsible for switching and controlling the power output according to control commands. Power supply module 191 and switching module 192 can be integrated on the same circuit board or designed as independent modules that work together via electrical connections. As an example and not a limitation, power supply module 191 and switching module 192 can be integrated on a single control board to form a compact structure.
[0200] In some embodiments of this application, the power supply module 191 is used to receive mains power and convert it into multiple DC power supplies of different voltage levels, which are then distributed to various components of the programming device. Specifically, the power supply module 191 has several power input terminals and several power output terminals.
[0201] The power supply module 191 may have several power input terminals, all of which are connected to AC mains power (AC 210V-230V). Specifically, the power supply module 191 may use multiple independent power input interfaces, or use a main power input interface in conjunction with internal power distribution circuitry.
[0202] In some embodiments of this application, the power supply module 191 integrates multiple switching power supply modules or power conversion circuits. Specifically, each switching power supply module converts mains power into DC power at a specific voltage level. It is easy to understand that different switching power supply modules output different voltage levels to meet the power supply needs of different components.
[0203] By way of example and not limitation, power supply module 191 may include the following switching power supply modules: The 12V switching power supply module converts AC mains power into DC 12V / 2A power to power high-power devices such as relays in the switching module 192.
[0204] The 5V switching power supply module converts AC mains power into DC 5V / 2A or higher power to power the main controller 110 and other components requiring 5V. Furthermore, the power supply module 191 may include several 5V switching power supply modules or power adapters to provide independent 5V power to different components.
[0205] The 3.3V switching power supply module converts AC power into DC 3.3V to power devices that require 3.3V, and also supplies it to the switching module 192 as one of the switchable voltages.
[0206] In some embodiments of this application, the mains power input of the power supply module 191 can take various forms. By way of example and not limitation, the power supply module 191 may have a main power input interface through which mains power enters the power supply module 191 and is then distributed internally to each switching power supply module; the power supply module 191 may also be configured with an independent mains power input interface for each switching power supply module, with each switching power supply module independently connected to the mains power.
[0207] The use of independent AC power input enables electrical isolation between each switching power supply module. When a switching power supply module fails, it will not affect the operation of other switching power supply modules, thus improving the reliability of the system.
[0208] In some embodiments of this application, the power supply voltage level and power output by the power supply module 191 are determined according to the requirements of each component of the programming device. By way of example and not limitation, the power supply module 191 may output the following power supplies: 12V / 2A power supply: Used to power the switching module 192 and drive the relay coil.
[0209] 5V / 3A power supply (first channel): Used to power the main controller 110.
[0210] 5V / 3A power supply (second channel): Used to power the first interface expansion unit 170.
[0211] 5V / 3A power supply (third channel): Used to power the second interface expansion unit 181.
[0212] 5V / 3A power supply (fourth channel): Used to power the second interface expansion unit 182.
[0213] 5V / 3A power supply (channels 5 to 8): Used to power several identification units.
[0214] 5V / 2A power supply: As one of the switchable voltages, it is supplied to the switching module 192 to power the control board to be programmed.
[0215] 3.3V / 2A power supply: As one of the switchable voltages, it is supplied to the switching module 192 to power the control board to be programmed.
[0216] Specifically, the number and specifications of the power output terminals of the power supply module 191 are configured according to actual application requirements. It is easy to understand that by flexibly configuring the output of the power supply module 191, it is possible to adapt to the needs of programming devices of different sizes and configurations.
[0217] Eighth embodiment See Figure 8In some embodiments of this application, the programming apparatus based on any one of the first to seventh embodiments further includes a display unit 210. Specifically, the display unit 210 is connected to the main controller 110 and is used to display programming status information.
[0218] In some embodiments of this application, the programming device generates a large amount of status information during operation, including the programming progress, programming results, and equipment operating status of each station. Without a display interface, operators cannot intuitively understand the working status of the programming device, making operation and monitoring inconvenient.
[0219] Furthermore, the display unit 210 can also provide interactive functions, allowing operators to perform operations such as parameter setting, function selection, and fault query through the display unit 210. As an example and not a limitation, operators can select the burning mode, view historical burning records, and set system parameters through the display unit 210 without configuration through an external computer or other devices.
[0220] In some embodiments of this application, the display unit 210 is connected to the main controller 110 and is used to receive display data sent by the main controller 110 and to feed back user operation information to the main controller 110. Specifically, the connection between the display unit 210 and the main controller 110 can adopt various interface methods.
[0221] The type of connection interface is determined based on the hardware specifications of the display unit 210 and the main controller 110. As an example and not a limitation, the connection interface can be an HDMI interface, VGA interface, LVDS interface, MIPI interface, SPI interface, I2C interface, etc.
[0222] In some embodiments of this application, the display unit 210 is connected to the main controller 110 via a video interface and receives video signals output by the main controller 110. Specifically, the main controller 110 renders the display content as a video signal and transmits it to the display unit 210 via the video interface, and the display unit 210 converts the video signal into screen display content.
[0223] As an example, and not a limitation, when the main controller 110 is a Raspberry Pi, the display unit 210 can be connected using the Raspberry Pi's HDMI port or Mini HDMI port. Specifically, the Raspberry Pi's HDMI port is connected to the display unit 210's HDMI input port via an HDMI cable. The HDMI port can transmit not only high-definition video signals but also audio signals simultaneously, simplifying the connection wiring. Furthermore, the HDMI port supports plug-and-play, automatically recognizing the display unit 210 after system startup, without requiring complex driver configuration.
[0224] In some embodiments of this application, if the display unit 210 has a touch function, it also needs to be connected to the main controller 110 through a touch signal interface. Specifically, the touch signal interface is used to transmit touch input information such as touch position and touch action.
[0225] As an example and not a limitation, the touch signal interface can be a USB interface, an I2C interface, or other touch interface standards. Specifically, the touch controller of the display unit 210 is connected to the USB interface of the main controller 110 via a USB data cable. When the user touches the display screen, the touch controller transmits the touch position coordinates to the main controller 110 via the USB interface. After receiving the touch information, the main controller 110 determines the user's operation intention based on the touch position and the current display content, executes the corresponding operation, and updates the display content.
[0226] In some embodiments of this application, the display unit 210 is used to display programming status information. Specifically, the programming status information includes various data and statuses related to the programming process.
[0227] It is easy to understand that the programming status information may include, but is not limited to, the following: workstation status information, programming progress information, programming result information, control board information, programming parameter information, programming time information, statistical information, and system status information.
[0228] Specifically, the workstation status information includes whether each workstation currently has a control board to be programmed, whether the workstation is in the programming state, and whether the workstation is idle. As an example and not a limitation, the display unit 210 can display status information such as "Workstation 1: Programming in progress", "Workstation 2: Idle", "Workstation 3: Programming completed", and "Workstation 4: Awaiting recognition".
[0229] The burning progress information is used to indicate the completion status of the current burning operation. Specifically, the burning progress can be expressed as a percentage, such as "Burning Progress: 45%"; it can also be displayed visually as a progress bar, such as a graphical progress bar showing the current burning progress.
[0230] The programming result information indicates whether the programming operation was successful or failed. As an example and not a limitation, the display unit 210 can display result information such as "programming successful", "programming failed", and "verification error".
[0231] The control board information includes the model, identification information, and MCU type of the control board to be programmed. It's easy to understand that the display unit 210 can display information such as "Model: CTRL-A-001" and "MCU Type: STM32F103," making it convenient for operators to confirm the control board type.
[0232] As an example and not a limitation, the programming parameter information may include the currently used programming program version, power supply voltage, programmer type, etc. Specifically, the display unit 210 may display information such as "Programming program: V1.2.3", "Power supply voltage: 5V", and "Programmer: J-Flash".
[0233] The burning time information includes burning start time, burning duration, and estimated completion time. Specifically, the display unit 210 can display information such as "Start time: 10:25:30", "Elapsed time: 02:15", and "Estimated completion time: 10:30:00".
[0234] The statistical information includes the total number of records burned that day, the number of successful records burned, the number of failed records burned, and the success rate of burning. As an example and not a limitation, the display unit 210 can display statistical data such as "Recorded today: 156", "Successful: 152", "Failed: 4", and "Success rate: 97.4%".
[0235] System status information includes equipment operating status, communication status, power supply status, fault alarms, etc. It's easy to understand that display unit 210 can display system status information such as "System operating normally," "Server connection normal," and "Power supply abnormal at workstation 2."
[0236] See Figure 9 In some embodiments of this application, the needle bed docking unit 150 includes four sets of needle blocks, namely, control board needle block 141, control board needle block 142, control board needle block 143 and control board needle block 144 to be burned. Each needle block has the same structural shape and includes 16 plum blossom needles.
[0237] As an example, and not a limitation, the size of the pins is 125 mil. Specifically, the pins of each pin block are arranged in two vertical columns and eight horizontal rows. The center-to-center distance between two pins in the vertical column is 3 cm, and the center-to-center distance between two pins in the horizontal column is also 3 cm. Taking the control board pin block 141 to be programmed as an example, the center-to-center distance between pins 1 and 2 in the control board pin block 141 to be programmed is 3 cm, and the center-to-center distance between pins 1 and 3 in the control board pin block 141 to be programmed is also 3 cm. In addition, the distance between pin blocks is 5 cm, such as the distance between control board pin block 141 to be programmed and control board pin block 142 to be programmed is 5 cm.
[0238] It should be noted that while the preferred embodiments of this utility model are provided in the specification and accompanying drawings, this utility model can be implemented in many different forms and is not limited to the embodiments described herein. These embodiments are not intended to impose additional limitations on the content of this utility model; their purpose is to provide a more thorough and comprehensive understanding of the disclosure of this utility model. Furthermore, the above-described technical features can be combined with each other to form various embodiments not listed above, all of which are considered to be within the scope of this utility model specification. Moreover, those skilled in the art can make improvements or modifications based on the above description, and all such improvements and modifications should fall within the protection scope of the appended claims.
Claims
1. A programming device, characterized in that, include: Main controller; Several identification units are respectively connected to the main controller for identifying the identification information of the control board to be programmed; A plurality of programming units are respectively connected to the main controller for programming the control board to be programmed. The plurality of programming units include at least two types of programming units. A needle bed docking unit, wherein several programming signal terminals of the needle bed docking unit are connected to the signal output terminals of the several programming units respectively; The replaceable needle bed is detachably connected to the needle bed docking unit and has several workstations for placing the control board to be programmed. The main controller is used to call the corresponding programming program from the preset programming program library according to the identification information obtained by the identification unit, and control the corresponding programming unit to perform programming.
2. The apparatus according to claim 1, characterized in that, Also includes: The server is network-connected to the main controller and is used to store programming status information; The preset programming library is located in the server.
3. The apparatus according to claim 1, characterized in that, Also includes: A first interface expansion unit, wherein the input terminal of the first interface expansion unit is connected to the first communication interface of the main controller, and several output terminals of the first interface expansion unit are correspondingly connected to the input terminals of the several identification units.
4. The apparatus according to claim 1, characterized in that, Also includes: A plurality of second interface expansion units are provided, wherein the input terminals of the plurality of second interface expansion units are connected to a plurality of second communication interfaces of the main controller, and the plurality of output terminals of the second interface expansion units are respectively connected to the input terminals of the plurality of programming units.
5. The apparatus according to any one of claims 1-4, characterized in that, Also includes: The power control unit has its communication terminal connected to the signal output terminal of the main controller, and its power output terminal connected to the power input terminal of the needle bed docking unit. It is used to provide the corresponding voltage to the needle bed docking unit according to the power demand signal; the power demand signal is generated by the main controller based on the identification information.
6. The apparatus according to claim 5, characterized in that, Also includes: An isolation conversion unit is provided, wherein the input terminal of the isolation conversion unit is connected to the signal output terminal of the main controller, and the output terminal of the isolation conversion unit is connected to the communication terminal of the power control unit, for converting the power demand signal into a switching signal.
7. The apparatus according to claim 6, characterized in that, The power control unit includes: a power supply module and a switching module; The power supply module has several power output terminals connected to the input terminals of the switching module, the main controller, and the identification units, respectively, for supplying power to the switching module, the main controller, and the identification units. The communication terminal of the switching module is connected to the output terminal of the isolation conversion unit, and several power output terminals of the switching module are respectively connected to several power input terminals of the needle bed docking unit, for turning on the corresponding power output terminals according to the switching signal and outputting the corresponding voltage to power the needle bed docking unit.
8. The apparatus according to claim 7, characterized in that, The power supply module has several power output terminals that are also connected to the power input terminals of several second interface expansion units, for supplying power to the several second interface expansion units.
9. The apparatus according to claim 1, characterized in that, Also includes: The display unit, connected to the main controller, is used to display the programming status information.
10. The apparatus according to claim 1, characterized in that, The needle bed docking unit includes several sets of needle blocks, and each needle block includes several plum blossom needles.
