Magnetic control system based on multi-core DSP and control method thereof

By employing a multi-core DSP processor in the magnetically controlled transformer control system, and utilizing multiple cores to concurrently process tasks, the problems of communication interruption and computing resource conflict in data acquisition and processing of traditional single-core DSPs are solved, thus achieving high reliability and real-time control of the magnetically controlled transformer.

CN121832240APending Publication Date: 2026-04-10STATE GRID BEIJING ELECTRIC POWER CO +2
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-27
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Traditional single-core DSPs in magnetic transformer control suffer from problems such as large data acquisition and processing volumes, easy communication interruptions and computing resource conflicts, resulting in poor control reliability and real-time performance.

Method used

By employing a multi-core DSP processor, multiple cores can concurrently process tasks, achieving efficient parallel processing of data and communication, avoiding conflicts in computing resource requirements, and improving the reliability and real-time performance of the system.

Benefits of technology

This improves the control reliability and real-time performance of the magnetically controlled transformer, enabling precise adjustment and real-time status monitoring of the transformer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121832240A_ABST
    Figure CN121832240A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of magnetic control transformer control, and discloses a magnetic control system based on a multi-core DSP and a control method thereof, and the system comprises a sampling module which is connected with a magnetic control transformer and is used for collecting the electric power parameters of the magnetic control transformer; the main control module is connected with the sampling module and used for receiving the electric power parameters of the magnetic control transformer and generating a control instruction according to the electric power parameters, the main control module is a multi-core DSP processor and comprises a plurality of cores, and each core is used for processing a corresponding task; and the power module is respectively connected with the magnetic control transformer and the main control module and is used for executing corresponding actions according to the control instruction so as to control the magnetic control transformer. Reliability and real-time performance of task processing of the magnetic control system can be improved so that real-time and reliable control of the magnetic control system on the magnetic control transformer can be realized. And through controllable output of the power module, accurate control of the magnetic control transformer is realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application relates to the technical field of magnetic control transformer control, in particular to a magnetic control system based on a multi-core DSP and a control method thereof. BACKGROUND

[0002] Traditional distribution transformers undertake the task of reducing the high voltage of distribution lines in local power grids and supplying power to city power loads. Whether they operate safely and reliably is closely related to the safety and stability of the power system. With the development of smart grids, rapid growth of power users, access of various new energy sources and emergence of more and more sensitive loads, the traditional distribution network has new characteristics: 1. Load diversification. The popularity of a large number of electronic, power electronic devices and electric vehicles has caused a large amount of harmonic and voltage flicker pollution. 2. Rapid growth of single-phase load, highlighting three-phase imbalance. 3. Higher requirements for power supply reliability and power quality. Although traditional transformer equipment has the advantages of low cost, mature technology and easy maintenance, it has inherent problems such as short mechanical switching life, inability to continuously adjust voltage, slow adjustment speed and poor reliability. Moreover, the function is too single to meet the needs of the era of smart grids and cannot completely solve the problems faced.

[0003] Hybrid transformer (HDT), also known as magnetic control transformer, is a new type of transformer combined with power electronic devices and traditional transformers. Through the method of AC / DC magnetic flux regulation, it realizes the flexible regulation of active or reactive power of flexible distribution devices. HDT uses the working mechanism of using part of the power to generate additional magnetic flux to control the power change of the main circuit, which can make up for the power regulation ability of traditional transformers, improve the power density of flexible distribution devices with small power electronic conversion device capacity, and improve the economy. Based on the HDT of the power electronic magnetic control device, the HDT can overcome the disadvantages of limited voltage regulation times of traditional on-load voltage regulation transformers, low service life of mechanical switches and large voltage fluctuation in the voltage regulation process, and provide high-quality and high-reliability power for load devices with strong fluctuation and high voltage sensitivity. It has become a new solution for voltage regulation transformers in modern power systems.

[0004] HDT adjusts the excitation magnetic flux of the main transformer based on the real-time dynamic adjustment capability of the magnetic control circuit module, therefore, the coordination and reliable work of the magnetic control device is the key to exert the power regulation. The control and adjustment capability of HDT mainly relies on the DSP digital control system, which involves tasks such as signal acquisition and processing, control variable operation, data transmission and communication, and has strict requirements for the real-time performance of task processing. At the same time, the large amount of data and complex control requirements of multiple magnetic control circuit sub-modules inside HDT put higher requirements on the processing capability of the DSP (Digital Signal Processing) control system. In the related art, a single-core DSP is used to control HDT, but the single-thread processing characteristics of the single-core DSP have obvious defects in simultaneously coping with the data calculation and processing and data communication tasks of the HDT system, which may lead to simultaneous triggering of multiple interrupts, calculation resource demand conflicts, and the like, affecting data processing; or the calculation process is frequently interrupted, leading to communication congestion and even control effect lag, and the like, and the reliability and real-time performance of the magnetic control transformer control and regulation are poor, and it is difficult to guarantee the reliable regulation and real-time state monitoring of the magnetic control transformer. SUMMARY

[0005] The purpose of the present application is to provide a magnetic control system based on multi-core DSP and a control method thereof, to at least solve the technical problems in the related art that the data acquisition and processing of the magnetic control transformer are large, communication interruption and calculation resource conflict are prone to occur, leading to poor reliability and real-time performance of the magnetic control transformer control and regulation.

[0006] To solve the above technical problems, the present application provides a magnetic control system based on multi-core DSP, comprising:

[0007] A sampling module connected with the magnetic control transformer, configured to acquire power parameters of the magnetic control transformer;

[0008] A master control module connected with the sampling module, configured to receive the power parameters of the magnetic control transformer and generate control instructions according to the power parameters, wherein the master control module is a multi-core DSP processor, comprising a plurality of cores, and each core is configured to process a corresponding task;

[0009] A power module connected with the magnetic control transformer and the master control module respectively, configured to execute corresponding actions according to the control instructions to control the magnetic control transformer.

[0010] In some embodiments, the magnetic control system further comprises a sub-control module connected with the master control module and the power module respectively, the sub-control module is configured to execute the control instructions of the master control module and control the power conversion state of the power module according to the control instructions.

[0011] In some embodiments, the sub-control module is also connected to the sampling module, and the sub-control module is used to preprocess the power parameters collected by the sampling module.

[0012] In some embodiments, the core includes a first core and a second core, which are respectively connected to the sub-control module. The first core is used to handle the timed interrupt reception and data transmission tasks between the first core and the sub-control module, and the second core is used to handle the fault interrupt reception tasks between the second core and the sub-control module.

[0013] In some embodiments, the power module has a three-phase AC input and an adjustable three-phase AC output.

[0014] In some embodiments, the main control module includes a voltage regulation unit, which is used to generate a corresponding voltage control command based on the voltage deviation between the actual voltage and the desired voltage of the magnetically controlled transformer, and to regulate the power injected into the magnetically controlled transformer through the power module to regulate the voltage of the magnetically controlled transformer.

[0015] In some embodiments, each core further includes a first memory for storing corresponding data for each core;

[0016] The main control module also includes a second memory, which is connected to each of the cores to share data between the cores.

[0017] In some embodiments, the magnetic control system further includes a human-machine interface, which is connected to at least one of the cores of the main control module and is used to interact with the main control module.

[0018] In some embodiments, the sampling module is also connected to the power module, and the sampling module is used to collect the operating parameters of the power module.

[0019] This application embodiment also provides a control method for a magnetic control system based on a multi-core DSP. The multi-core DSP-based magnetic control system includes a sampling module, a main control module, and a power module. The sampling module is connected to a magnetic control transformer, and the main control module is connected to the sampling module. The main control module is a multi-core DSP processor, including multiple cores. The power module is connected to both the magnetic control transformer and the main control module. The method includes:

[0020] The sampling module collects the power parameters of the magnetically controlled transformer;

[0021] The main control module receives the power parameters of the magnetically controlled transformer and processes the power parameters through multiple cores to generate corresponding control commands.

[0022] The power module executes corresponding actions according to the control command to control the magnetically controlled transformer.

[0023] The magnetic control system and its control method based on a multi-core DSP provided in this application embodiment are configured as follows: the magnetic control system includes a sampling module, a main control module, and a power module. The sampling module is connected to the magnetic control transformer and is used to collect the power parameters of the transformer. The main control module is connected to the sampling module and is used to receive the power parameters of the transformer and generate control commands based on the power parameters. The main control module is a multi-core DSP processor, including multiple cores, each core being used to process a corresponding task. The power module is connected to both the magnetic control transformer and the main control module and is used to execute corresponding actions according to the control commands to control the transformer. This allows the multiple cores of the multi-core DSP processor to process the power parameters of the transformer collected by the sampling module, improving the reliability and real-time performance of the magnetic control system's task processing, thereby achieving real-time and reliable control of the transformer. Simultaneously, the controllable output of the power module enables precise control of the transformer. Attached Figure Description

[0024] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0025] Figure 1 This is a schematic diagram of the structure of a magnetic control system based on a multi-core DSP according to an embodiment of this application;

[0026] Figure 2 This is another schematic diagram of the magnetic control system based on a multi-core DSP according to an embodiment of this application;

[0027] Figure 3 This is a schematic diagram of the main control module in an embodiment of this application;

[0028] Figure 4 This is a control flowchart of a magnetic control system based on a multi-core DSP, according to an embodiment of this application.

[0029] Figure label:

[0030] 1-Sampling module, 2-Main control module, 211-First core, 212-Second core, 213-Third core, 22-Second memory, 3-Power module, 4-Sub-control module, 5-Human machine interface, 20-Magnetic control transformer. Detailed Implementation

[0031] Various embodiments and features of this application are described herein with reference to the accompanying drawings.

[0032] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this application will be apparent to those skilled in the art.

[0033] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.

[0034] These and other features of this application will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.

[0035] It should also be understood that although this application has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of this application, which have the features described in the claims and are therefore all within the scope of protection defined herein.

[0036] The above and other aspects, features and advantages of this application will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.

[0037] Specific embodiments of this application are described thereafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of this application, which can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the application. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but merely serve as the basis and representative basis for the claims to teach those skilled in the art to use this application in a variety of substantially any suitable detailed structures.

[0038] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in other embodiments,” all of which may refer to one or more of the same or different embodiments according to this application.

[0039] Example 1

[0040] Figure 1 A structural diagram of a magnetic control system based on a multi-core DSP, according to an embodiment of this application, is shown. Figure 1 As shown, this application embodiment provides a magnetic control system based on a multi-core DSP, including:

[0041] Sampling module 1 is connected to magnetically controlled transformer 20 (hereinafter referred to as transformer) and is used to collect the power parameters of the magnetically controlled transformer;

[0042] The main control module 2 is connected to the sampling module 1 and is used to receive the power parameters of the magnetically controlled transformer and generate control commands based on the sampling data. The main control module 2 is a multi-core DSP processor, which includes multiple cores, each of which is used to process a corresponding task.

[0043] Power module 3, connected to both the magnetically controlled transformer and the main control module 2, is used to execute corresponding actions according to the control commands to control the magnetically controlled transformer. Sampling module 1, connected to the magnetically controlled transformer, is used to collect its power parameters. These parameters include voltage and current. Sampling module 1 includes a sampling circuit, a conditioning circuit, and an analog-to-digital converter circuit connected in sequence. After the power parameters of the magnetically controlled transformer are acquired by the sampling channel of the sampling circuit, the signal is filtered by the conditioning circuit to remove high-frequency noise and interference signals; then, the digital-to-analog converter circuit converts the conditioned signal into a digital signal for communication transmission.

[0044] Main control module 2 is the control hub of the magnetic control system, integrating a multi-core DSP processor and its necessary peripheral circuits. The multi-core DSP processor is the key component of the main control module. A multi-core DSP processor integrates multiple (two or more) independent DSP processing cores on a single chip. Each core can be considered an independent "computing engine," capable of executing different tasks simultaneously or collaboratively processing different parts of the same task. The concurrent execution of independent tasks by the multi-core DSP processor results in higher execution efficiency.

[0045] The main control module 2 is connected to the sampling module 1, receives the power parameters of the magnetically controlled transformer 20 collected by the sampling module 1, processes the data collected by the sampling module 1, calculates according to the preset control algorithm, and generates control commands.

[0046] like Figure 3As shown, the main control module 2 features a multi-core DSP architecture. The multi-core DSP processor contains multiple identical cores, each capable of running programs independently. All cores share the same instruction set and can perform the same operations. Different cores of the multi-core DSP processor can concurrently execute independent tasks, resulting in higher execution efficiency. This enables the multi-core DSP processor to perform high-speed multi-tasking and data computation, completing tasks such as data processing and communication in real time. It also makes decisions on different functions of the magnetic control system, undertaking important functions such as data processing and algorithm execution. By using multiple cores for data processing, multiple interrupts can be triggered simultaneously, avoiding conflicts in computing resource requirements, improving data processing efficiency, and ensuring the reliability of subsequent magnetic control system control. Different cores can also rapidly transmit control commands and data, reducing communication interruptions and further enhancing the reliability of the magnetic control system.

[0047] In this embodiment, after receiving the power parameters from the sampling module 1, the main control module 2 can send them to the corresponding core according to the type of the power parameters. The core then processes the power parameters and generates corresponding control commands. Alternatively, the sampling module 1 can directly send the power parameters to the corresponding core for processing based on their type, generating corresponding control commands. The main control module 2 can then convert these control commands into control signals and send them to the power module 3.

[0048] Power module 3 is the main power circuit for power conversion, consisting of a large number of power switching devices. Power module 3 receives control signals sent by each core in the main control module 2, and changes the switching state of the power switching devices according to the control signals, thereby changing the power conversion state of power module 3, which in turn changes the working state of the magnetic control system, and then adjusts the excitation flux to make the output of magnetic control transformer 20 change as desired.

[0049] For example, in this embodiment, each switching device of the power module 3 performs corresponding actions according to the control instructions of the main control module 2, performs power conversion and controllable adjustment of the input power, and realizes magnetic saturation control and voltage regulation of the magnetic control transformer 20.

[0050] The magnetic control system based on a multi-core DSP provided in this application includes a sampling module 1, a main control module 2, and a power module 3. The sampling module 1 is connected to a magnetically controlled transformer 20 and is used to collect the power parameters of the transformer 20. The main control module 2 is connected to the sampling module 1 and is used to receive the power parameters of the transformer 20 and generate control commands based on the power parameters. The main control module 2 is a multi-core DSP processor, including multiple cores, each core handling a corresponding task. The power module 3 is connected to both the magnetically controlled transformer 20 and the main control module 2, and is used to execute corresponding actions according to the control commands to control the transformer 20. This system utilizes the multiple cores of the multi-core DSP processor to process the power parameters of the transformer 20 collected by the sampling module 1, improving the reliability and real-time performance of the magnetic control system's task processing, thereby achieving real-time and reliable control of the transformer 20. Simultaneously, the controllable output of the power module 3 enables precise control of the transformer 20.

[0051] In some embodiments, such as Figure 2 As shown, the magnetic control system also includes a sub-control module 4, which is connected to both the main control module 2 and the power module 3. The sub-control module 4 executes the control commands of the main control module 2 and controls the power conversion state of the power module 3 according to these commands. The sub-control module 4 is the second controller in the magnetic control system, second only to the main control module 2. It is connected to both the main control module 2 and the power module 3, and executes the control commands of the main control module 2, sending corresponding control signals to the power module 3. In other words, the sub-control module 4 acts as an intermediate module between the main control module 2 and the power module 3, controlling the power conversion state of the power module 3.

[0052] In some embodiments, the sub-control module 4 is also connected to the sampling module 1, and the sub-control module 4 is used to preprocess the power parameters collected by the sampling module 1.

[0053] The sub-control module 4 can share some of the data processing requirements of the main control module 2, preprocess a large amount of dynamic data from the sampling module 1 (such as the power parameters of the magnetically controlled transformer 20), and transmit it to the main control module 2.

[0054] The control module 4 is preferably an FPGA (Field Programmable Gate Array), which can take advantage of the FPGA's high-speed parallel data processing capabilities to achieve low-latency instruction execution and fast data preprocessing.

[0055] In some embodiments, such as Figure 3As shown, in the main control module 2, the core includes a first core 211 (core 2) and a second core 212 (core 3). The first core 211 and the second core 212 are respectively connected to the sub-control module 4. The first core 211 is used to handle the timed interrupt reception and data transmission tasks between the first core 211 and the sub-control module 4. The second core 212 is used to handle the fault interrupt reception tasks between the second core 212 and the sub-control module 4.

[0056] Among them, the first core 211 can realize the real-time issuance of control commands and data reception by the main control module 2 by executing the timed interrupt reception and data transmission tasks between the first core 211 and the sub-control module 4; the second core 212 is used to respond to faults in the magnetic control transformer 20 in real time by executing the fault interrupt reception task between the second core 212 and the sub-control module 4, thereby improving the reliability of the magnetic control system.

[0057] Other cores in the main control module 2 can share the tasks of data processing and control algorithm calculation, or perform other tasks (e.g., communication with the host computer). In this embodiment, by rationally allocating various processing tasks through multiple cores, high real-time performance and high reliability control of the magnetic control system can be achieved. In this embodiment, the use of a multi-core DSP processor not only brings a significant improvement in computing power, but also provides more flexible resource management and task allocation capabilities.

[0058] In some embodiments, such as Figure 1 and Figure 2 As shown, in the sampling module 1, the sampling module 1 is also connected to the power module 3, and the sampling module 1 is used to collect the operating parameters of the power module 3.

[0059] Sampling module 1 can collect not only the electrical parameters of the magnetically controlled transformer 20, but also the operating parameters of the magnetic control system itself (such as current, voltage, and temperature signals). Main control module 2 can analyze and process these operating parameters and the electrical parameters collected by sampling module 1 to generate corresponding control commands. Sampling module 1 can collect the status signals of power module 3, convert them into digital signals for transmission, and then send them to the corresponding core of main control module 2 or to sub-control module 4 for processing. For example, if the sampling data collected by sampling module 1 includes the operating parameters of the magnetic control system, sub-control module 4 can preprocess these operating parameters. After receiving the operating parameters of power module 3, sampling module 1 can use the second core to respond to faults in the magnetic control system in real time based on these parameters.

[0060] In some embodiments, such as Figure 3As shown, in the main control module 2, each core also includes a first memory for storing the corresponding data of each core;

[0061] The main control module also includes a second memory 22, which is connected to each of the cores to share the data of each core.

[0062] The first memory is the unique memory of each core, which can be used to store the commonly used data of each core; the second memory 22 is the shared memory shared by all cores. Different cores can write data to the shared memory, and the data in the shared memory can be read by other cores to realize data exchange.

[0063] In some embodiments, the power module 3 has a three-phase AC input and an adjustable three-phase AC output.

[0064] Power module 3 includes a power conversion unit that can convert a fixed input three-phase AC voltage into a controllable three-phase AC voltage output. For example, the power conversion unit can inject AC voltage into the magnetically controlled transformer 20 to change the magnetic saturation level of the magnetically controlled transformer 20, thereby making the output voltage of the magnetically controlled transformer 20 adjustable.

[0065] Alternating current (AC) bias employs a novel control method using a high-frequency alternating magnetic field, achieving rapid regulation through dynamic magnetic domain excitation. Unlike direct current (DC) bias, AC bias does not lead to DC saturation of the iron core; instead, it utilizes the "micro-perturbation" effect of the high-frequency magnetic field to alter the overall magnetic properties of the iron core. This control method has three significant advantages: first, the response speed can reach the microsecond level; second, harmonic energy is concentrated in the high-frequency band and is easy to filter out; and third, it avoids the additional losses caused by DC bias.

[0066] In some embodiments, the main control module 2 includes a voltage regulation unit, which generates a corresponding voltage control command based on the voltage deviation between the actual voltage and the desired voltage of the magnetically controlled transformer 20, and adjusts the power injected into the magnetically controlled transformer 20 through the power module to regulate the voltage of the magnetically controlled transformer 20.

[0067] After the sampling module 1 of the magnetic control system periodically acquires the voltage signal output by the magnetically controlled transformer, the main control module 2 can perform calculations based on the current voltage signal to obtain the actual effective voltage value at the output terminal of the magnetically controlled transformer 20, and compare it with its expected voltage value. When the actual effective voltage value is lower or higher than the expected voltage value, the closed-loop control algorithm calculates based on the voltage deviation and generates a corresponding voltage regulation control command to adjust the amount of power injected into the magnetically controlled transformer 20, thereby regulating the output voltage of the magnetically controlled transformer 20. When the sampling module acquires the current output voltage of the magnetically controlled transformer 20 again and finds that it has reached the expected voltage value, the voltage regulation process is completed, making the actual effective voltage value at the output terminal of the magnetically controlled transformer 20 stable at the expected voltage value, thus achieving the control objective of stabilizing the output voltage of the magnetically controlled transformer 20.

[0068] In some embodiments, such as Figures 1 to 3 As shown, the magnetic control system also includes a human-machine interface 5, which is connected to at least one of the core components of the main control module 2 and is used to interact with the main control module 2.

[0069] The Human-Machine Interface (HMI) 5 is a graphical user interface with convenient functions such as visualization and touch operation. HMI 5 communicates with the third core 213 (core 1) of the main control module 2 via serial communication. The third core 213 executes serial port receive interrupts and serial port send tasks between itself and HMI 5, enabling real-time user control and information display. HMI 5 displays intuitive data processed by the main control module 2, such as all electrical quantities of the magnetic control transformer 20. HMI 5 has touch operation functionality, allowing manual operation of the touchscreen to directly send operation commands to the third core of the main control module 2. These control commands are further processed by the main control module 2 to control the operating status of the magnetic control system.

[0070] The human-machine interface 5 is directly connected to the user's operating environment, allowing the user to directly monitor and operate the magnetically controlled transformer 20. Furthermore, the user can send control commands to the magnetic control system through the human-machine interface 5, such as modifying the desired voltage value at the transformer's output terminal.

[0071] In summary, a brief explanation of the communication between the modules in the magnetic control system is provided, such as... Figure 1 and Figure 2As shown, the human-machine interface 5 sends control commands to the third core 213 of the main control module 2; the third core 213 of the main control module 2 sends data to the human-machine interface 5, realizing communication between the human-machine interface 5 and the third core 213. Other cores of the main control module 2 (including the first core 211 and the second core 212, etc.) send control commands to the sub-control module 4; the sub-control module 4 sends data to other cores of the main control module 2 and sends control signals to the power module 3. The power module 3 sends its current, voltage, and temperature signals and other operating parameters to the sampling module 1, and sends signals to the magnetically controlled transformer 20 for magnetic control adjustment; the magnetically controlled transformer 20 sends voltage signals and other power parameters to the sampling module 1, and the sampling module 1 sends sampling data (including the power parameters of the magnetically controlled transformer 20 and the operating parameters of the power module 3) to the sub-control module 4 so that the sub-control module 4 can preprocess the sampling data and send it to the corresponding core of the main control module 2.

[0072] The magnetic control system, through multiple cores, can achieve a shorter control cycle while taking into account communication functions, further improving the real-time response performance of the magnetic control system. It can also avoid frequent communication interruptions by saving and restoring the magnetic control transformer field, ensuring the reliability and real-time performance of the magnetic control system, and reducing the waste of computing resources.

[0073] The following is combined Figure 2 and Figure 3 The magnetic control system shown provides a detailed explanation of the control process for the magnetically controlled transformer 20. For example, Figure 2 As shown, the magnetic control system includes a sampling module 1, a main control module 2, a power module 3, a sub-control module 4, and a human-machine interface, etc. Figure 4 As shown, the specific control flow of the magnetically controlled transformer 20 is as follows:

[0074] 1) Sampling module 1 collects electrical parameters such as voltage and current of magnetically controlled transformer 20, as well as operating parameters such as voltage, current and temperature of magnetically controlled system, and processes and converts the collected sampling data from analog to digital.

[0075] 2) The sub-control module 4 processes the sampling data from the sampling module 1 and sends it to the main control module 2;

[0076] 3) Core 2 to n of main control module 2 (see...) Figure 3 The core 1 (see...) processes the data from the sub-control module 4, calculates according to the control algorithm, generates control commands, and sends them to the sub-control module 4. Simultaneously, the core 1 (see...) Figure 3 The processed or calculated data results are sent to the human-machine interface 5;

[0077] 4) The sub-control module 4 receives the control command from the main control module 2 and sends the corresponding control signal to the power module 3;

[0078] 5) The power module 3 receives control signals to change the switching state of the power switching device, thereby changing the working state of the magnetic control system, and thus adjusting the excitation flux so that the output of the magnetic control transformer 20 changes as desired (e.g., the desired output voltage value).

[0079] After the sampling module 1 of the magnetic control system periodically acquires the transformer output voltage signal, the main control module 2 processes the current signal value to obtain the actual effective voltage value at the transformer output terminal and compares it with the expected voltage value. When the actual effective voltage value is lower or higher than the expected voltage value, the closed-loop control algorithm calculates based on this deviation, generates control commands, and adjusts the amount of power injected into the transformer to regulate the transformer's output voltage. When the sampling module 1 acquires the current transformer output voltage again and finds that it has reached the expected value, the regulation process is complete, achieving the goal of stabilizing the actual effective voltage value at the transformer output terminal to the expected voltage value, thus achieving the control objective of stabilizing the transformer output voltage.

[0080] Example 2

[0081] This application provides a control method for a magnetic control system based on a multi-core DSP. The multi-core DSP-based magnetic control system includes a sampling module 1, a main control module 2, and a power module 3. The sampling module 1 is connected to a magnetic control transformer 20, and the main control module 2 is connected to the sampling module 1. The main control module 2 is a multi-core DSP processor, including multiple cores. The power module 3 is connected to both the magnetic control transformer 20 and the main control module 2. The method includes:

[0082] S101: The sampling module 1 collects the power parameters of the magnetically controlled transformer 20;

[0083] S102: The main control module 2 receives the power parameters of the magnetically controlled transformer and processes the power parameters through multiple cores to generate corresponding control commands;

[0084] S103: The power module 3 executes corresponding actions according to the control command to control the magnetically controlled transformer 20.

[0085] When controlling the magnetic control system of a multi-core DSP, the sampling module 1 first collects the power parameters of the magnetic control transformer 20 in real time. After receiving the power parameters from the sampling module 1, the main control module 2 can send them to the corresponding core according to the type of power parameters. The core processes the power parameters and generates corresponding control commands. Alternatively, the sampling module 1 can directly send the power parameters to the corresponding core for processing and generate corresponding control commands based on the type of power parameters.

[0086] After each core of the main control module 2 generates the corresponding control command, it converts the control command into a control signal and sends it to the power module 3. The power module 3 receives the control signals sent by each core of the main control module 2, and changes the switching state of each power switching device in the power module 3 according to the control signal, thereby changing the power conversion state of the power module 3, and then changing the working state of the magnetic control system. In turn, it adjusts the excitation flux so that the output of the magnetic control transformer 20 changes as desired, thereby achieving precise control of the magnetic control transformer 20.

[0087] The control method for the magnetic control system based on a multi-core DSP provided in this application corresponds to the magnetic control system based on a multi-core DSP in the above embodiments. Any option in the embodiments of the magnetic control system based on a multi-core DSP is also applicable to the embodiments of the control method for the magnetic control system based on a multi-core DSP, and will not be repeated here.

[0088] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of disclosure in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features with similar functions disclosed in this application.

Claims

1. A multi-core DSP based magneto-control system, characterized by, include: A sampling module, connected to the magnetically controlled transformer, is used to collect the power parameters of the magnetically controlled transformer; The main control module, connected to the sampling module, is used to receive the power parameters of the magnetically controlled transformer and generate control commands based on the power parameters. The main control module is a multi-core DSP processor, including multiple cores, each of which is used to process a corresponding task. The power module is connected to the magnetically controlled transformer and the main control module respectively, and is used to execute corresponding actions according to the control commands to control the magnetically controlled transformer.

2. The magnetic control system of claim 1, wherein, The magnetic control system also includes a sub-control module, which is connected to the main control module and the power module respectively. The sub-control module is used to execute the control commands of the main control module and control the power conversion state of the power module according to the control commands.

3. The magnetic control system of claim 2, wherein, The sub-control module is also connected to the sampling module, and the sub-control module is used to preprocess the power parameters collected by the sampling module.

4. The magnetic control system of claim 2, wherein, The core includes a first core and a second core, which are respectively connected to the sub-control module. The first core is used to handle the timed interrupt reception and data transmission tasks between the first core and the sub-control module, and the second core is used to handle the fault interrupt reception tasks between the second core and the sub-control module.

5. The magnetic control system of claim 1, wherein, The power module has a three-phase AC input and an adjustable three-phase AC output.

6. The magnetic control system of claim 1, wherein, The main control module includes a voltage regulation unit, which generates a corresponding voltage control command based on the voltage deviation between the actual voltage and the desired voltage of the magnetically controlled transformer, and adjusts the power injected into the magnetically controlled transformer through the power module to regulate the voltage of the magnetically controlled transformer.

7. The magnetic control system of claim 1, wherein, Each of the cores further includes a first memory for storing corresponding data for each core; The main control module also includes a second memory, which is connected to each of the cores to share data between the cores.

8. The magnetic control system of claim 1, wherein, The magnetic control system also includes a human-machine interface, which is connected to at least one of the core components of the main control module and is used to interact with the main control module.

9. The magnetic control system of claim 1, wherein, The sampling module is also connected to the power module, and the sampling module is used to collect the operating parameters of the power module.

10. A control method of a multi-core DSP-based magnetic control system, characterized by, The multi-core DSP-based magnetic control system includes a sampling module, a main control module, and a power module. The sampling module is connected to the magnetic control transformer, and the main control module is connected to the sampling module. The main control module is a multi-core DSP processor with multiple cores. The power module is connected to both the magnetic control transformer and the main control module. The method includes: The sampling module collects the power parameters of the magnetically controlled transformer; The main control module receives the power parameters of the magnetically controlled transformer and processes the power parameters through multiple cores to generate corresponding control commands. The power module executes corresponding actions according to the control command to control the magnetically controlled transformer.