CN114336600B - Power control method and device, mobile terminal and storage medium - Google Patents

Power control method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN114336600B
CN114336600B CN202111518246.4A CN202111518246A CN114336600B CN 114336600 B CN114336600 B CN 114336600B CN 202111518246 A CN202111518246 A CN 202111518246A CN 114336600 B CN114336600 B CN 114336600B
Authority
CN
China
Prior art keywords
power
data
power line
interference source
calculation result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111518246.4A
Other languages
Chinese (zh)
Other versions
CN114336600A (en
Inventor
梁宇图
张正峰
施展
李星南
梁文娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Power Grid Co Ltd, Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202111518246.4A priority Critical patent/CN114336600B/en
Publication of CN114336600A publication Critical patent/CN114336600A/en
Application granted granted Critical
Publication of CN114336600B publication Critical patent/CN114336600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a power control method, a device, a mobile terminal and a storage medium, wherein the method comprises the following steps: firstly, acquiring power data of a power line of a first user according to a code sequence of the power line; wherein the code sequence is used for distinguishing power line power data of different users; and after calculating the initial power according to the power line power data of the first user, performing power control on the power line power data of the first user according to the initial power. By adopting the embodiment of the invention, the efficiency of power control can be improved.

Description

Power control method and device, mobile terminal and storage medium
Technical Field
The present invention relates to the field of automatic control technologies, and in particular, to a power control method, a device, a mobile terminal, and a storage medium.
Background
Power line carrier communication is a communication system for transmitting voice and data using a power line as a transmission medium for information, and is a system in which transmission communication of voice, data, video, and the like is realized by means of a carrier wave. Therefore, in the power line carrier communication, power control of a transmission signal is important.
In the prior art, the power control method related to power line communication is basically a primary power control method for estimating power loss through information such as link communication loss and link transmission energy, and the power control method is complicated in power estimation of a communication link, and controls power line power of all users without distinguishing power line data among different users, so that a large amount of multiple access interference is generated, and the problem of low power control efficiency is caused.
Disclosure of Invention
The embodiment of the invention provides a power control method, a device, a mobile terminal and a storage medium, which improve the efficiency of power control.
A first aspect of an embodiment of the present application provides a power control method, including:
acquiring power line power data of a first user according to a code sequence of the power line; wherein the code sequence is used for distinguishing power line power data of different users;
And after calculating the initial power according to the power line power data of the first user, performing power control on the power line power data of the first user according to the initial power.
In a possible implementation manner of the first aspect, after performing power control according to the initial power, the method further includes:
And when the existence of the new user is judged, monitoring and acquiring the power line power data of the new user, and independently performing power control on the power line power data of the new user.
In a possible implementation manner of the first aspect, the method further includes:
Calculating a frequency period according to the power line power data of the first user;
Calculating a preprocessing scheme according to the frequency period and the interference source data;
after the fuzzy processing is carried out according to the pretreatment scheme, determining a fuzzy language value and a membership function;
and establishing a fuzzy rule base according to the fuzzy language value and the membership function.
In a possible implementation manner of the first aspect, the preprocessing scheme is calculated according to the frequency period and the interference source data, and specifically is:
When the frequency period is judged to be an irregular period, monitoring an interference source and acquiring interference source data;
Calculating the interference degree of an interference source according to the interference source data, and obtaining a first calculation result and a second calculation result after carrying out power adjustment on the interference source according to the interference degree; the first calculation result is a preprocessing calculation result of a frequency period, and the second calculation result is a preprocessing calculation result of an interference source;
and calculating a preprocessing scheme according to the first calculation result and the second calculation result.
In a possible implementation manner of the first aspect, after performing power control according to the initial power, the method further includes:
And updating the power gain according to the RLS algorithm, and completing the power self-adaptive control.
In a possible implementation manner of the first aspect, the method further includes:
Performing fuzzy processing according to the frequency period and the interference source data to obtain a processing result;
when the process of deblurring is judged to be needed according to preset conditions, converting the processing result into control output; and when the process of disambiguation is judged to be unnecessary according to the preset conditions, the processing result is not converted.
A second aspect of an embodiment of the present application provides a power control apparatus, including: the acquisition module and the control module;
The acquisition module is used for acquiring power line power data of the first user according to the code sequence of the power line; wherein the code sequence is used for distinguishing power line power data of different users;
the control module is used for performing power control on the power line power data of the first user according to the initial power after calculating the initial power according to the power line power data of the first user.
In a possible implementation manner of the second aspect, after performing power control according to the initial power, the method further includes:
And when the existence of the new user is judged, monitoring and acquiring the power line power data of the new user, and independently performing power control on the power line power data of the new user.
A third aspect of the embodiments of the present application provides a mobile terminal, including a processor and a memory, the memory storing computer readable program code, the processor implementing the steps of a power control method as described above when executing the computer readable program code.
A fourth aspect of the embodiments of the present application provides a storage medium storing computer readable program code which when executed performs the steps of a power control method as described above.
Compared with the prior art, the power control method, the device, the mobile terminal and the storage medium provided by the embodiment of the invention comprise the following steps: firstly, acquiring power data of a power line of a first user according to a code sequence of the power line; wherein the code sequence is used for distinguishing power line power data of different users; and after calculating the initial power according to the power line power data of the first user, performing power control on the power line power data of the first user according to the initial power.
The beneficial effects are that: according to the embodiment of the invention, after the power line power data of different users are distinguished according to the code sequence of the power line, the power control is respectively carried out on the power line power data of different users one by one, thereby being beneficial to avoiding multiple access interference and improving the efficiency of power control.
Further, in the process of distinguishing power line power data of different users and performing power control of a certain user, whether a new user exists or not is monitored in real time; when the new user is judged to exist, the power line power data of the new user is monitored and obtained, and the power control is carried out on the power line power data of the new user independently, so that the situation that all data in the network need to be updated again when the new user is connected with the network every time is avoided, and the power control efficiency is further improved.
Drawings
Fig. 1 is a flow chart of a power control method according to an embodiment of the invention;
Fig. 2 is a schematic structural diagram of a power control device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a power control method according to an embodiment of the invention includes S101-S102.
S101: acquiring power line power data of a first user according to a code sequence of the power line; wherein the code sequence is used to distinguish between power line power data of different users.
The method comprises the following steps: the data collection system is adopted to obtain the code sequence of each power line, and the data marking system is used for marking the code sequence of each power line, so that the power data information generated by different users can be distinguished conveniently, the mutual multiple access interference generated by the user information is avoided, and meanwhile, the situation of data cross calculation is avoided.
S102: and after calculating the initial power according to the power line power data of the first user, performing power control on the power line power data of the first user according to the initial power.
In this embodiment, the power line power data of the first user includes: the power line input signal power of the first user and the power line output signal power of the first user. The real part and the imaginary part of the signal spectrum (namely the power line input signal power of the first user and the power line output signal power of the first user) are obtained by using the FFT function, and after the square values of the real part and the imaginary part are combined to form a power spectrum, the power spectrum is taken as initial power. The FFT function is used for analyzing the frequency spectrum of the signal, and is an existing analysis function model.
The process of obtaining the power spectrum is a common technical means, so that the description thereof is omitted.
In this embodiment, after the performing power control according to the initial power, the method further includes:
And when the existence of the new user is judged, monitoring and acquiring the power line power data of the new user, and independently performing power control on the power line power data of the new user.
In this embodiment, further comprising:
calculating a frequency period according to the power line power data of the first user;
Calculating a preprocessing scheme according to the frequency period and the interference source data;
after the fuzzy processing is carried out according to the pretreatment scheme, determining a fuzzy language value and a membership function;
and establishing a fuzzy rule base according to the fuzzy language value and the membership function.
In this embodiment, the acquisition of the interference source data is a technical means familiar to those skilled in the art, and will not be described herein.
In a specific embodiment, the calculating a preprocessing scheme according to the frequency period and the interference source data specifically includes:
When the frequency period is judged to be an irregular period, monitoring an interference source and acquiring interference source data;
Calculating the interference degree of the interference source according to the interference source data, and obtaining a first calculation result and a second calculation result after carrying out power adjustment on the interference source according to the interference degree; the first calculation result is a preprocessing calculation result of the frequency period, and the second calculation result is a preprocessing calculation result of the interference source;
And calculating a preprocessing scheme according to the first calculation result and the second calculation result.
Specifically, the interference source data includes: power of the interferer and interference period.
In a specific embodiment, whether the interference source is stable is judged according to the interference degree, and if so, power adjustment is not performed on the interference source; and if the interference source is unstable, carrying out power adjustment on the interference source according to the interference degree.
In this embodiment, after the performing power control according to the initial power, the method further includes:
And updating the power gain according to an RLS algorithm (namely a recursive least square method), and completing the power self-adaptive control.
In a specific embodiment, the updating of the power gain is performed according to the RLS algorithm, specifically:
the power control gain is calculated by using an LMS iterative algorithm (i.e. a least mean square algorithm), and can be expressed by the following formula:
y(n)=g(m)×x(n);
where x (n) is the power of the power line input signal of the first user, y (n) is the power of the power line output signal of the first user, and g (m) is the power control gain (i.e., power gain).
The update of the power gain g (m) can be expressed by the following formula:
g(m+1)=g(m)+b×e(m);
Wherein b is more than 0 and less than 1, b is an iteration step length, and e (m) is a first-stage power line power rough modulation error.
Further, the update of the power gain g (m) according to the RLS algorithm can be expressed by the following formula:
y(n)=g(m)×x(n);
n=Lm,Lm 1,...,Lm L+1;
c(m)=f[y(Lm),y(Lm 1),...,y(Lm L+1)];
e(m)=d c(m);
g(m+1)=g(m)+b×e(m);
Wherein c (m) is an error deviation parameter, f is a function corresponding to an estimation method of the error deviation parameter c (m), and d is an error threshold value.
In this embodiment, further comprising:
performing fuzzy processing according to the frequency period and the interference source data to obtain a processing result;
When the process result is converted into control output according to the preset condition; and when the process result is not converted according to the preset condition, the process result is not converted.
In a specific embodiment, the determining that the deblurring is needed according to the preset condition is specifically:
the preset conditions are as follows: whether human intervention is present. If human intervention exists, determining that deblurring is needed; if no human intervention exists, it is determined that disambiguation is not required.
For further explanation of the power control apparatus, please refer to fig. 2, fig. 2 is a schematic diagram of a power control apparatus according to an embodiment of the present invention, which includes: an acquisition module 201 and a control module 202;
The acquiring module 201 is configured to acquire power line power data of a first user according to a code sequence of the power line; wherein the code sequence is used for distinguishing power line power data of different users;
The control module 202 is configured to calculate an initial power according to the power line power data of the first user, and then perform power control on the power line power data of the first user according to the initial power.
In this embodiment, after the performing power control according to the initial power, the method further includes:
And when the existence of the new user is judged, monitoring and acquiring the power line power data of the new user, and independently performing power control on the power line power data of the new user.
Specifically, an embodiment of the present invention provides a mobile terminal, including a processor and a memory, where the memory stores computer readable program code, and the processor implements the steps of a power control method described above when executing the computer readable program code.
In particular, embodiments of the present invention provide a storage medium storing computer readable program code which when executed implements steps of a power control method.
According to the embodiment of the invention, the acquisition module acquires the power line power data of the first user according to the code sequence of the power line; wherein the code sequence is used for distinguishing power line power data of different users; and then, after calculating the initial power according to the power line power data of the first user through the control module, performing power control on the power line power data of the first user according to the initial power.
According to the embodiment of the invention, after the power line power data of different users are distinguished according to the code sequence of the power line, the power control is respectively carried out on the power line power data of different users one by one, thereby being beneficial to avoiding multiple access interference and improving the efficiency of power control.
Further, in the process of distinguishing power line power data of different users and performing power control of a certain user, whether a new user exists or not is monitored in real time; when the new user is judged to exist, the power line power data of the new user is monitored and obtained, and the power control is carried out on the power line power data of the new user independently, so that the situation that all data in the network need to be updated again when the new user is connected with the network every time is avoided, and the power control efficiency is further improved.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (6)

1. A method of power control, comprising:
Acquiring power line power data of a first user according to a code sequence of the power line; wherein the code sequence is used for distinguishing power line power data of different users;
After calculating initial power according to the power line power data of the first user, performing power control on the power line power data of the first user according to the initial power;
After the power control according to the initial power, the method further comprises:
when it is determined that a new user exists, monitoring and acquiring power line power data of the new user, and performing power control on the power line power data of the new user independently;
calculating a frequency period according to the power line power data of the first user;
Calculating a preprocessing scheme according to the frequency period and the interference source data;
after the fuzzy processing is carried out according to the pretreatment scheme, determining a fuzzy language value and a membership function;
establishing a fuzzy rule base according to the fuzzy language value and the membership function;
the preprocessing scheme is calculated according to the frequency period and the interference source data, and specifically comprises the following steps:
When the frequency period is judged to be an irregular period, monitoring an interference source and acquiring interference source data;
Calculating the interference degree of the interference source according to the interference source data, and obtaining a first calculation result and a second calculation result after carrying out power adjustment on the interference source according to the interference degree; the first calculation result is a preprocessing calculation result of the frequency period, and the second calculation result is a preprocessing calculation result of the interference source;
And calculating a preprocessing scheme according to the first calculation result and the second calculation result.
2. The power control method according to claim 1, further comprising, after said performing power control according to said initial power:
And updating the power gain according to the RLS algorithm, and completing the power self-adaptive control.
3. The power control method of claim 2, further comprising:
performing fuzzy processing according to the frequency period and the interference source data to obtain a processing result;
When the process result is converted into control output according to the preset condition; and when the process result is not converted according to the preset condition, the process result is not converted.
4. A power control apparatus, comprising: the acquisition module and the control module;
the acquisition module is used for acquiring power line power data of a first user according to a code sequence of the power line; wherein the code sequence is used for distinguishing power line power data of different users;
The control module is used for performing power control on the power line power data of the first user according to the initial power after calculating the initial power according to the power line power data of the first user;
After the control module performs power control according to the initial power, the method further comprises:
When the control module judges that a new user exists, the control module monitors and acquires power line power data of the new user and independently controls the power of the power line power data of the new user;
the control module is also used for calculating a frequency period according to the power line power data of the first user;
Calculating a preprocessing scheme according to the frequency period and the interference source data;
after the fuzzy processing is carried out according to the pretreatment scheme, determining a fuzzy language value and a membership function;
establishing a fuzzy rule base according to the fuzzy language value and the membership function;
the control module calculates a preprocessing scheme according to the frequency period and the interference source data, and specifically comprises the following steps:
The control module monitors an interference source and acquires interference source data when judging that the frequency period is an irregular period;
Calculating the interference degree of the interference source according to the interference source data, and obtaining a first calculation result and a second calculation result after carrying out power adjustment on the interference source according to the interference degree; the first calculation result is a preprocessing calculation result of the frequency period, and the second calculation result is a preprocessing calculation result of the interference source;
And calculating a preprocessing scheme according to the first calculation result and the second calculation result.
5. A mobile terminal comprising a processor and a memory, the memory storing computer readable program code, the processor implementing the steps of a power control method according to any one of claims 1 to 3 when the computer readable program code is executed by the processor.
6. A storage medium storing computer readable program code which when executed implements the steps of a power control method according to any one of claims 1 to 3.
CN202111518246.4A 2021-12-13 2021-12-13 Power control method and device, mobile terminal and storage medium Active CN114336600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111518246.4A CN114336600B (en) 2021-12-13 2021-12-13 Power control method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111518246.4A CN114336600B (en) 2021-12-13 2021-12-13 Power control method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114336600A CN114336600A (en) 2022-04-12
CN114336600B true CN114336600B (en) 2024-04-26

Family

ID=81050866

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111518246.4A Active CN114336600B (en) 2021-12-13 2021-12-13 Power control method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114336600B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4330817A (en) * 1976-12-06 1982-05-18 Epitogepgyarto Vallalat Process and system for controlling the energization of a load
CN109983650A (en) * 2016-11-08 2019-07-05 松下知识产权经营株式会社 Electrical power transmission system
CN112769458A (en) * 2020-12-31 2021-05-07 广东电网有限责任公司电力调度控制中心 Power control method and device for power line communication
CN113326130A (en) * 2021-05-31 2021-08-31 北京邮电大学 Resource allocation method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7453861B2 (en) * 2002-08-02 2008-11-18 At&T Corp System and method for estimating interference in a packet-based wireless network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4330817A (en) * 1976-12-06 1982-05-18 Epitogepgyarto Vallalat Process and system for controlling the energization of a load
CN109983650A (en) * 2016-11-08 2019-07-05 松下知识产权经营株式会社 Electrical power transmission system
CN112769458A (en) * 2020-12-31 2021-05-07 广东电网有限责任公司电力调度控制中心 Power control method and device for power line communication
CN113326130A (en) * 2021-05-31 2021-08-31 北京邮电大学 Resource allocation method and device

Also Published As

Publication number Publication date
CN114336600A (en) 2022-04-12

Similar Documents

Publication Publication Date Title
US11424963B2 (en) Channel prediction method and related device
MXPA05008740A (en) Method and apparatus for multi-sensory speech enhancement.
CN113593548B (en) Method and device for waking up intelligent equipment, storage medium and electronic device
CN114615684B (en) Information age optimization method and device of closed-loop system and storage medium
CN114336600B (en) Power control method and device, mobile terminal and storage medium
CN101884064B (en) Information processing apparatus, information processing method
CN116708207A (en) Self-adaptive networking method and device for household equipment, electronic equipment and storage medium
CN114679899B (en) Self-adaptive energy-saving control method and device, medium and equipment for machine room air conditioner
CN114006798B (en) Signal processing method and device, electronic equipment and storage medium
CN114598581B (en) Training method, recognition method and device for double-stage detection model of probability shaping signal
JP7455240B2 (en) Methods, systems, and computer programs for optimizing communication channel capacity using Dirichlet processes
CN115987406A (en) Underwater acoustic communication link self-adaption method based on deep reinforcement learning
EP3926910B1 (en) Method for optimizing the capacity of communication channels
CN111212423B (en) Credible cooperative interference node selection method based on hidden Markov model
CN110880957B (en) Sound wave communication method and device and electronic equipment
CN115843045A (en) Data acquisition method and device
CN108282200B (en) Factor graph-based confidence propagation signal detection method in large-scale MIMO system
CN113193925B (en) Optimization processing method and device of communication system and electronic equipment
CN116502473B (en) Wire harness electromagnetic compatibility optimization method and device, electronic equipment and storage medium
CN117528538A (en) Fuzzy learning anti-interference method and system for coping with incomplete channel information
CN116913297A (en) Voice enhancement model training method, voice processing method, device and equipment
CN118447832A (en) Voice instruction analysis method and device, storage medium and electronic device
CN118194032A (en) Cross-region data anomaly detection method and system, electronic device and storage medium
CN114741418A (en) Optimization method and device for vehicle body section structure, electronic device and storage medium
CN118820681A (en) Acquisition terminal acquisition link delay acquisition method, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant